I want to write a web service for myself using ETSY API (with ASP.net CORE API).
I have no idea how to use the ETSY API.
For example, I want to list the products and stores that have opened and sold the most in the last 2 months.
I have 2-3 simple queries in mind. How should I proceed?
First of all, I need to pass the Authentication part, etc. . Do you have an example? It can also be done with different programming languages, ultimately it will be enough to answer 2-3 queries.
Please reach out to anyone I can contact who can support me...
I received my KEYSTRING and SHARED SECRET values from the ETSY API side. I guess it wasn't active.
I've been waiting for 3 days. Does anyone have any information about the length of this process?
I think you should read their documentation. There is great documentation for esty apis. You can find that here https://www.etsy.com/developers/documentation/getting_started/api_basics
Apart from that there is a great article from Manuel Reinfurt.You can find that here - https://manuelreinfurt.medium.com/use-etsy-api-with-oauth-1-0-in-asp-net-core-c-819fb6edd376
And entire source code is will found on here -https://github.com/mreinfurt/etsy-aspnetcore
Basically, you need to do the following
Etsy uses open API authentication. For that you can use this nugget package here-https://github.com/rhargreaves/oauth-dotnetcore
Write the code as mentioned in the article. Write startup file like below.
Then in controller create properties like below
Then for login and redirection you need to write following code
Then process and call back code like following.
Then get the order from an Etsy account like the following.
public async Task OpenOrders() { const string requestUrl = "https://openapi.etsy.com/v2/shops/YOURSHOPNAME/receipts/open?";
You can get more ideas from the link shared at the beginning!