List all Airtable tables via API request - airtable

Given that user provided his API key, is there a way to retrieve a list of tables in user's AirTable account?
I do know there is a URL for API queries, with base and table encoded there. Also API docs include only info on how to work with a particular table.
My use case is to allow user to choose a table they want to work with.

Airtable now offers a Metadata Api, however access is limited and must be individually requested, at this time.
As part of our ongoing effort to make Airtable more and more extensible, we’re beginning to expand access to the Metadata API 360.
The metadata API gives you read-only access to a list of a user’s bases, as well as the specific schema of each base - things like what tables exist, what fields exist on those tables, etc.
https://community.airtable.com/t/accessing-the-metadata-api/37080
Metadata Api Documentation
Enterprise API also offers endpoints capable of fetching Metadata.

This would be part of the metadata API which does not exist.
See this community post for some non-api workarounds.

Related

Google ads api list all accounts and their campaigns

I am totally new to google ads, I have a google ads account setup. I have a customer id (which I believe is the parent account id), under this I have a lot of 'Accounts' (url: ads.google.com/aw/accounts) setup. Every account have a list of campaigns. I want to prepare a report to fetch all campaigns and there settings. I am using postman to hit google apis (googleads.googleapis.com/v8).
I want to know what apis I can use to list all customer accounts and their campaigns?
Using the rest API for this sort of operation is not advised. It's expensive and there's an extremely tight limit.
It's advised to use the gRPC client libraries as they use search operations. You can learn more here: https://developers.google.com/google-ads/api/docs/start
Each of the client libraries has a robust set of examples and sample code that demonstrates exactly what you're trying to achieve (called list_accessible_accounts or similar). If you let me know what language you're using I can point you to the correct one.

Wild Characters in MS Graph API when fetching all the users info

I'm trying to pull all the users' info from Microsoft Graph, when I do GET https://graph.microsoft.com/beta/users/, it doesn't pull manager, directReports, etc. For that, I'm making additional API calls to
/beta/users/xxxx#xxx.com/directReports and
/users/xxxx#xxx.com/authentication/methods
Is there a way to use wildcard characters in the above, so that it fetches the directReports information for all the users? I don't want to make call for each user and method, as our Org is very big.
You can use the relationships to get these details.
For getting all users directReports you can use the below graph call.
https://graph.microsoft.com/v1.0/users?$expand=directReports
See this document.

Eloqua- Update/Delete bulk campaigns using API

There are so many outdated information on Eloqua Bulk and REST API.However, I have found a resource which seems to be the latest one:
https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/index.html
I have retrieved a list of campaigns using REST API.Here is what I am trying to accomplish using REST or Bulk API: I have to retrieve a list of campaigns matching certain criteria and then make changes to a field in all campaigns, then update the list of Campaigns using BULK or REST API.
is it possible to update the list of Campaigns using Bulk or REST API?Can I delete the list of Campaigns using Bulk or REST API?
Campaigns are not exposed in the bulk API. You'll have to use the rest API and there's no support for batch updates or deletes.
I agree, the REST/Bulk documentation is weak.
Unfortunately, you can not update the list. Why ?
Bulk API:
is designed to act on primitive data (contact, account, CO, and his own metadata aka imports/exports/syncs)
Campaigns are complex data, so they are not exposed in Bulk.
REST API:
Give you access to the list of all campaigns (good news right ?)
Data can be modified in REST but only one by one
REST is not designed for mass update. Even for contacts !
The answer is no: you can not update the list of campaigns using Bulk or REST API (not without using a program doing iteration for you).

API to get Orders and Upload Shipment information?

I have tried to find the answer using Google, but I'm a bit confused as there are a number of eBay APIs.
In order to get orders, the Trading API GetOrders command should be used?
I would like to be able to upload via an API a completed order shipment information, tracking, and courier name. Is the CompleteSale command in the the Trading API the correct command to use?
How to get the Authentication codes from an eBay store (my app can connect to many eBay stores)
I'm planning to use this Rails GEM: https://github.com/ReverseRetail/ebay_client
1) Yes, use GetOrders to retrieve orders from eBay (Dont use getsellertransactions it is super buggy). Here is the doc for GetOrders Best Practices. You may also want to take a look at this article Order management using Trading API - GetOrders (I would set the set "Create / Mod TimeTo" time to 5 minutes instead of their recommended 2 minutes.)
2) Yes, you would use CompleteSale, you are going to need three bits of information the OrderID, ShipmentTrackingNumber, and ShippingCarrierUsed. You might also want to note that you cannot use the same tracking number for multiple packages, the API will error thinking you are trying to game the system.
3) If you want perform the trading api requests on a store that you do not have access to, you will need to allow clients to authenticate their store with your app. Documentation on that process is very detailed and can be viewed here: Getting Tokens

Which way is legal to store Youtbue API data

Im planning on making a website which stores user playlist data to share with other users in different way than youtube allow (My users will be able to view all records of all the playlists they created in a single list and etc) .
But I wonder if i can store data received from the Youtube API Data (playlist title, description, date, list of videos, thumbs addresses, etc) in my website database or the only way is to store in web server Session.
Of course I know that save of stream is not allowed.
Thank you very much, but I asked them if storing data generated by YouTube API Data (not JSON or XML results but data etc. title, description, id, thumbs addresses etc) in the database is consistent with the rules. The rule is the point:
Caching. Your API Client may employ session-based caching solely of YouTube API results, but You must use commercially reasonable efforts to cause Your API Client to update cached results upon any changes in video metadata. For example, if a video is removed from the YouTube service or made "private" by the video uploader, cached results shall be removed from Your cache. For the avoidance of doubt, Your API Client shall not be designed to cache YouTube audiovisual content.
What did they mean by a "session-based caching" and "YouTube API results".
if you are storing in your database, then you can give additional fields that he one advantage, and allow the user to overwirite the title and description etc, if you don't want the user database then rely on youtube data , these are preotyt XML,JSON data and very lightweight, it' good to implement to save the recenet snapshot in you database

Resources