How to get around salesforce API limit - rest

I am building a chrome extension/third-party app that needs to read data from salesforce.
One way is to make a API call directly to salesforce whenever a user needs to query something, but this will create a large number of API calls.
What I attempted to do is to pull a ton of data from salesforce into a Google Sheet using the reports API, on an hourly basis, then query the data through Google App Script. But Salesforce's 2000 row limits for Reports and SOQL API, as well as the runtime limits posed by Google App Script, make my life difficult :(
What are the best ways to get data from salesforce for third party extensions?
Appreciate your help!

The bulk API can fulfill your needs as it hasn't a limitation on the number of returned rows.

Related

Fetch Forms' Data (Submission Table) From Wix to a Custom CRM

I have developed a CRM Application in which I am fetching Leads from Facebook Ads via Graph API through Bulk Read.
I want to do the same with WIX but I am unable to find suitable Docs for it, I have previously not worked on WIX. I went through WIX Webhooks but I am not sure if this will fetch all the Data or just the recently submitted form. Moreover, I am not getting how to implement this too.
I tried retrieving messages but for this, I had to send one request per lead and also figure out all the conversation Ids.
Kindly Refer me to the suitable Docs or Tutorials.

How to pull ad insights in bulk using Facebook Graph API?

I am trying to do what I thought would be a very simple task which is to use the Facebook API to retrieve insights about ads, but I'm having so much trouble. I know how to use multiple API calls to retrieve the list of ads, and then retrieve the insights for each ads using an API call for each one.
However, I'm limited at 200 API calls per hour, so this is no good if I wanted to pull all ads from all-time. There is a way to batch call the ad insights using an endpoint like:
act_XXXXXXXXXXXXXXX/ads?fields=insights{cpc, impressions}
But then I am unable to specify the timeframe so it only grabs stats from the past month. Usually I would specify the timeframe with a field of
date_preset=maximum
(or whatever I want the date_preset to be), but in this case if I add it as another field it does not affect the the insights (I presume since they are using those brackets as a special way to pull the bulk insights).
I swear to god if I figure this out I'm releasing it publicly and loudly for free because I think it's ridiculous that this is so roundabout.
Do this: act_XXXXXXXXXXXXXXX/ads?fields=insights.date_preset(maximum){cpc, impressions} This is called a nested query.

Custom GA data costs = Analytics API column missing?

I am trying to use custom cost data (from PLA, price comparison sites), I already upload data on daily basis, it shows up in GA. However, It does not work as expected on API side - as I need to use this cost data for custom reporting, using ga:adCost return cost data only for Google Ads, nothing else. As I have checked, there is no other cost column in dimensions or metrics....
Concrete:
I import cost data using APIs
Success
However, on the API side, when I want to use that data as a source for data export, the only ,,cost,, related colum is adCost - but only Google Ads costs as a traffic source are returned
https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
I would expect all traffic sources to have ga:adCost (or ga:cost?) in API as well, however, only Google Ads have that. I suppose that ga:ad* is related to GAds connection data only and custom data imported are to passed to Analytics API and/or there is no metric for that data...
Am i doing wrong API calls to get traffic source / medium & cost data, or custom imported data are not able to get back via API?
Is there a solution? Thanks!

How to get sample data from sales force developer account through rest api

I need to get sample data from sales force developer account but i am unable to find any API to get any data from sales force.
Is there any API exposed by sales force to accomplish the task.
Salesforce exposes a large number of thoroughly documented APIs.
Access to record data is most commonly achieved through the standard REST API.
You may be most interested in the endpoints named under Working with Records, which provide access to record data, or Working with Searches and Queries.

Data.com API query to Base CRM

Looking in at the DATA.com API we do have a license for 1000 API queries a day. My question is we are looking at a different CRM to handle our outbound sales processes other than SalesForce.
Base CRM looks like it is capable of handling our needs for our business and account processes. Is it possible to have the Base API send queries to the Data.com API and return the results?
I also see there is an API purchase within the SalesForce API. When you conduct a search API query does it require you to purchase the results if you have a license already in place to use Data.com?
Our goal is to have a primary CRM pull information from Data.com or another source for lead information and display it in the new CRM.
If none of this is possible with the solution I am looking at might you suggest other platforms.
Thank you!
Unfortunately, we don't currently offer the triggers to query Data.com's database. However, there are a couple of other ways to integrate Data.com with Base. You can either use a polling-driven trigger to Data.com, you could attempt to configure a workflow in Data.com to send this data over to Base, or you could use an import to pull this data into Base (as many of our customers have done). I hope that helps!