I have integrated vimeo Rest API for my web application, whenever I call rest api, it return large response data, but to optimize large data, I would like to limit data to return me after particular date, and I want query data like "since=date" or "since=id", so should return me data available after this date or id, by applying query parameter to rest api, I want filter result on the basis of id or date, so please let me know, is there any way available for that.
example url is here:
https://api.vimeo.com/groups/330134/users?sort=date&direction=desc
but want like this
https://api.vimeo.com/groups/330134/users?since=2015-06-15;
All data filters are described in the endpoint. You can reduce the fields you receive with the field filter: https://developer.vimeo.com/api/spec#json-filter
Related
I have podio data with more number of column, but we need to fetch 5-6 column data through API. I attached column name screenshot. If we need only for example order id, city, country then how to write API query?
/item/app/{app_id}/filter/
If it is right, how to write query with selected column name with GET/POST.
The filter endpoint uses a POST body to filter which records to return, not which fields/columns to return. It is not possible to specify which fields/columns to return with an API call according to this SO thread from an old Podio support person.
If you are looking to remove fields from the query to reduce your datasource size within Klipfolio, I would recommend returning the API call in CSV format instead of JSON. Klipfolio support documents how to do this HERE by performing a GET operation and adding /csv to the end of the URL.
https://api.podio.com/item/app/Your-APP-ID/csv/
I am trying to pull in all data from an API. Unfortunately, the API only allows 500 records per page. I followed the steps from the post here - How to get paginated data from API in Power BI. Instead of selecting the "total_pages" I selected "total_rows." I had this working, where my result was all 4675 rows. Something happened and now I get over 1 millions rows and the query is still pulling in rows. I have looked at this for so long and cannot see what is wrong. Can anyone help?
The parameters in the API are businessObjectTypeId, pageSize, and pageNum
API Function in PBI
API Query in PBI
I am trying to search for a user using the APIs provided by Instagram and I want to limit number of users returned in the API call. Currently, I am getting a list of all the users who match the query string.
I tried passing the count parameter but that is not working and I am still getting a list of all users.
Is there a way to limit the number of users returned in the response and to provide pagination? If not, what is the maximum number of users that can be returned?
API Used: https://api.instagram.com/v1/users/search?q=searchQuery&access_token=ACCESS-TOKEN
Reference: https://www.instagram.com/developer/endpoints/users/
use &count= it works:
https://api.instagram.com/v1/users/search?q=kevin&count=3&access_token=ACCESS-TOKEN
this API call will return 3 results.
My script needs to check from time to time that all items present in an app are recorded in its own db. Indeed even when using the podio hooks, it happens that my script and podio are getting desynchronised.
It uses the filter item api call by batch of 100 of items. In this case the script doesn't need to know all the fields values, but only the basic informations: item_id, app, title, link and current_revision.
I wonder if it's possible to set a query parameter in the filter function only only get the mini view of each item. This could improve greatly performances.
You can use fields parameter for that.
More details on how it works and how else it could be used are right here: https://developers.podio.com/index/api in "Bundling responses using fields parameter" section.
Using fields to bundle objects can be a way to drastically reduce the amount of API requests you have to make.
Most likely you are looking for fields=items.view(micro) parameter. Podio API will return then only 5 values for each item:
app_item_id
item_id
title
link
revision
I am using the QuickBooks Api to request transaction data from a QB database. However due to the number of transactions, it takes a long time for the request to come back. Is there a way of requesting a summarise view in the XML, i.e instead of getting data on TxnID level, I can get it to just aggregated the 'amount' by accounts.
Thanks in advance
Is there a way of requesting a summarise view in the XML, i.e instead of getting data on TxnID level, I can get it to just aggregated the 'amount' by accounts.
Using a TransactionQueryRq? No.
If you're trying to get summary data, you should look into the reporting features of the SDK/qbXML instead -- they are likely closer to what you need.