|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
| Hello. Congratulations for the new REST API version!! Is it possible to use in the new API methods like /Folder.asmx/GetUsersFolderListIncrementally ? Can we use the REST API that is in www.newsgator.com/ngs/subscriber/services/ ? And is there any way to make the //services.newsgator.com services to return JSON results? I tried with &fmt=json but didn't work. Thanks!
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: 4/29/2008 3:48:02 PM
Posts: 30,
Visits: 48
|
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
Thanks. I know about the new changes in the REST API, they are very useful. I wanted to use the API before but the main problem was the missing “Incrementally” methods. Can we use the undocumented API? (I understand that it can change) The only thing I will need some help is in the ‘Options’ parameters, that is a number and there isn’t any way I know what it means…  (I know what number to send to get the same results that the NG Online sends, but nothing more…)One thing that will be useful is that each Post result item in an API response, contains in which Clipped Folders that Post was added. So we don’t need to ask for all clipped items. Is there any way this feature could be added in the REST API Incrementally methods? TIA
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: 4/29/2008 3:48:02 PM
Posts: 30,
Visits: 48
|
|
| Hello, The biggest issue with the new API under www.newsgator.com is it is still changing quite a bit and will certainly break you down the road. With that said I would love to find a way to get you what you need. If you are just looking for the "incremental" type API's we should be able to do that via the existing services.newsgator.com API's. Regardless of the API set you are calling, to do things incrementally we need a sync token. Both API's would require something very similar here. The sync token has been part of the services.newsgator.com API for a long time now. If you are using the sync token with the existing API's you are already getting the incremental change functionality. There has been a lot of talk on our API team about implementing something you describe with returning clipping information with the post data, so watch the NewsGator API Blog (http://blogs.newsgator.com/newsgator_api/). I will post there when that change is in for you to start playing with.  Please feel free to let me know more about what you are doing and I can help you find the best way to get that done with the appropriate API. Darryl
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
Hello. With incremental methods, I mean: * I call GetNews with maxposts=20. And I get the first 20 posts. * I call GetNews with page=2&maxposts=20. And I get the “next” 20 posts (21-40).Is there any way to do that in services.NG.com API? In services.newsgator.com API, can you add support for calling GetNews but for a folder (that will retrieve posts from all feeds/folders inside that folder)? I tried and it works on www.NG.com , but not on services.NG.com. Thanks, Ariel
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: 4/29/2008 3:48:02 PM
Posts: 30,
Visits: 48
|
|
| Ok, now I get what you are looking for. Email me directly, I think I have something to help you out. darryld@newsgator.com Darryl
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
| Other difference between services.NG and www.NG is that services.NG doesn’t seems to allow sorting Posts. Is there any way to sort results like in www.NG? TIA
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
| I sent you an email, thanks.
|
|
|
|