You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
Hi, I'm using a TrelloNet to create/edit cards, to add checklists...it's awesome!
But, trying to export all Json data from board, this json data resulted inside TrelloNet is very very smaller then a Json extracted in browser (using the SAME account, in browser as in Trellonet.)
One example is my principal board. at browser, it returns a 3.5 million caracters in json, but at Trellonet, the same board returns 8 thousand charcters.
Theres no observable restriction to the search in Trellonet request.
Somebody knows how to solve this? I need get the complete json information from board.
This is my actual code:
public TrelloNet.ITrello Trello { get; set; }
// .......some anether code
private Dictionary<string, string> GetJsonFromAllBoars(string organizationName)
{
Organization org = Trello.Organizations.WithId(organizationName);
var dic = new Dictionary<string, string>();
foreach (var item in Trello.Boards.ForOrganization(org))
{
//working on URL, then result the expected URI used in browser to get the json information
var url = item.Url.Substring(item.Url.IndexOf("/b/"), item.Url.LastIndexOf("/") - item.Url.IndexOf("/b/")) + ".json";
url = item.Url.Replace("https://trello.com", "");
// this is the point!!!!
dynamic json = Trello.Advanced.Get(url); // --> THIS JSON IS VERY SMALLER THEN THE OBTAINED IN BROWSER
// this is the point!!!!
dic.Add(item.Name, json.ToString());
}
return dic;
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm using a TrelloNet to create/edit cards, to add checklists...it's awesome!
But, trying to export all Json data from board, this json data resulted inside TrelloNet is very very smaller then a Json extracted in browser (using the SAME account, in browser as in Trellonet.)
One example is my principal board. at browser, it returns a 3.5 million caracters in json, but at Trellonet, the same board returns 8 thousand charcters.
Theres no observable restriction to the search in Trellonet request.
Somebody knows how to solve this? I need get the complete json information from board.
This is my actual code:
public TrelloNet.ITrello Trello { get; set; }
// .......some anether code
private Dictionary<string, string> GetJsonFromAllBoars(string organizationName)
{
Organization org = Trello.Organizations.WithId(organizationName);
var dic = new Dictionary<string, string>();
foreach (var item in Trello.Boards.ForOrganization(org))
{
//working on URL, then result the expected URI used in browser to get the json information
var url = item.Url.Substring(item.Url.IndexOf("/b/"), item.Url.LastIndexOf("/") - item.Url.IndexOf("/b/")) + ".json";
url = item.Url.Replace("https://trello.com", "");
}
The text was updated successfully, but these errors were encountered: