Pull Sales Transactions Report CSV via the API - square

Is it possible to pull down the Transactions CSV export from a Squareup Dashboard? Or at least replicate the data from the Connect v1 or v2 APIs?
I can see in the page HTML that it appears to be making a POST to the endpoint /v2/reports/transactions.csv

No, there is no API for pulling a CSV. It should be fairly easy to use the Transactions endpoints to list the transactions you are wanting and then export your data in the file type of choice

Related

Get historical stock level from Quickbooks TradeGecko API

I am using TradeGecko API (docs: https://developer.tradegecko.com/docs.html) to get my shop's data. The API comes with a StockLevel resource, but it only return the stock level at the moment, not in the past. I want to see how the stock level changes over time. Any way I can do that?
Tradegecko API is sunsetting at the time of writing this comment. But if anyone needs this, I went to Intelligence > Reporting > Inventory > Stock history. Pick a timeframe and stock location to download the historical data.
I also used Python Selenium for automatic download the data into my email, then used the Gmail API to get the csv link and process the data.

Get Google Analytics data source uploads with API

Is it possible to get data from Google Analytics data source via API with a given id?
I use uploadData to upload data to GA: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/uploads/uploadData
After uploading i get some response like accountId, customDataSourceId, id, status and uploadTime. With this information i want to grab informations from GA to use it for a end to end test.
If you want to check that the upload itself went well, you can use the List method from the management API.
If you want to check that data you uploaded is properly being mapped inside GA, you should use the reporting API and query for whichever dimensions you uploaded.

Retrive Sales Data through API for sales from POS

I am trying to do some custom analytics and analysis for my business. We use the Square POS, and have access to the API. I can retrieve the transactions, but cannot seem to get the Order ID's that I need to batch retrieve the orders. What am I missing? Is it possible through the API to access the same sales data that I can see in my dashboard?
It depends on what exactly you are looking for. Items that are sold? Try the v1Payments endpoint. The order's endpoint that you are using is for primarily for pulling the transaction data from e-commerce transactions.

Yammer API Groups/Users in Group only being returned for 1 network

My goal is to get a count of users in each group returned from the Yammer Data Export API. The list of groups that is returned from the data export api belong to roughly 15 networks. When querying the endpoints listed below, I am getting results back for the 1 main network, but not for the other 14. Are there any known limitations for the REST API in regards to accessing data for some of the networks returned from the data export API. In other words, there is information provided in the data export API, but when trying to expand on that information using the REST API, nothing is returned.
https://www.yammer.com/api/v1/groups/{group_id}.json
https://www.yammer.com/api/v1/users/in_group/{group_id}.json
Any help would be much appreciated.
Are there any known limitations for the REST API in regards to
accessing data for some of the networks....
By design, the access token (that you're using in your code) is tied to ONLY one network and that explains why you can ONLY get results from ONLY that network.

Loading Google Analytics 2 Years historical data via API using CC Rest connector

I am wondering if there is a way to pull Google Analytics un-sampled historical data for 2 years via API using CC Rest connector component. Unfortunately the GA account is a standard and not a premium so I can not get around 500K limit.
It would be great if GoodData Developer team can share an ETL graph file to solve this request. It is a common use case per clients.
Thanks,
Andy
I have discovered this kind of solution.
Run the ga_00_master graph that will run multiple time the ga_01_sub graph. For each day you want to have the data it will send a request to Google Analytics and gives you a file with the data for that day.
There are few things to do
fill in GA_CONNECTION to sub graph
and link parameter file ga_params.prm
and parameters
for master graph:
GA_MIN_DATE = "yyyy-MM-dd"
for sub graph:
PROFILE_NUMBER