Get project cost from ActiveCollab API - api

I would like to know how can i export by the API the Cost of a project
The cost element is present on this page: https://activecollab.com/help/books/budgeting/profitability
I try with GET /projects/1/budget but i don't have this value
thanks for your help

You can GET /api/v1/projects/:project-id/financial-stats and you'll receive project profitability data. Note that only owners, project leader and people with permission to manage financials can access this project API.

Related

How to get all installs and uninstalls shops names with shopify API

I want to get a list of all installed / uninstalled shops urls of my app.
I look at the API and didn't find an answer:(
thank you for your help <3
Obviously when a shop installs, you can save that for permanent use. When a Shopify uninstalls, you can save that for permanent use. There is no API calls that will give you that data AFAIK. Just do it yourself if you want that info at your disposal.
You can export a list of all your merchants overtime via Shopify Partners Dashboard (https://partners.shopify.com/)
If you export the current merchants, you will be able to see all the merchants' store names and shop URLs too.
For more info check https://shopify.dev/apps/store/success/tracking-usage

Get vehicle registration details from apisetu.gov.in API

I am trying to implement a feature in my website where user can input the Vehicle's Registration Number and pull out the details of the vehicle and owner. Similar to https://jankari.loconav.com/rc
There is an API provided by the government of India to achieve this - https://ndh.digitallocker.gov.in/public/api/transport#/APIs/drvlc but there is no documentations involved. I am not even sure how to use it in postman. There are no options to generate an API key etc. When you click the "try" button it just shows you a pre-written json which gives error after you execute it. Can some help me find a way to build something similar to https://jankari.loconav.com/rc using the http://apisetu.gov.in
Thanks in advance

ASP.NET Core Web API - Measuring response data

We have an ASP.NET Core Web API project. Today on accident I found an API method that was returning unnecessary amounts of data.
In my example we were returning users along with countries which is what we needed, but we were also returning a list of cities for each country so that was a tremendous amount if data, I was able to reduce it from 7MB to 23KB (per Insomnia client).
I was able to fix this by performing a select and creating a new country object and not passing in the cities property. I am not even sure if that's the right way to fix that problem but I will leave that for another time. My question is...
Is there a tool/nuget package out there that would provide this type of info? I'd like to get an idea on how much data we are sending to the clients when different methods are called. We have app insights but I don't believe it provides that data or at least I don't see it.
Thank you!
I was able to resolve this issue by writing some middleware code that logs the results to azure application insights, here is a copy of the code if anyone needs it:
https://gist.github.com/tekguy/52b245f6582158d7240f80bf46c4cc71
You can then query this info by using app insights log query:
requests
| order by timestamp desc
| project url, customMeasurements.Size

How to retrieve listing price data for specific event using ticketmaster's developer API?

I made a Ticketmaster developer account and I would like to pull listing price data for specific events. I am able to retrieve this type of listing data for specific events using Stubhub's API, but looking through Ticketmaster's API documentation, I don't see any specific API requests that will return listing data, such as section, row and listing_price.
Am I missing something, or is it not possible to retrieve this type of listing data using Ticketmaster's API?
For anyone who stumbles upon this in the future, TicketMaster does offer this functionality through their availability endpoint. However you have to be a TM nexus partner to use it, and getting approved as a partner depends on what your business/software does and income etc...

Behance API Endpoint for Team?

A simple quesition :
I was wondering there is possible to get projects by team ? (like getting projects on users)
https://www.behance.net/v2/users/{name}/projects?api_key={key}
I tried to insert my team name, So it does not work.
What I am missing ?
You can use this hack. Add all your teams projects to a collection. You can now access relevant data from the collections end-point
It is not possible to retrieve projects by team as of now. The users endpoint is to get the projects published by a user