I need to get Shop details of Shopify Websites - html

I know of the endpoint /products.json but it only returns the products info.
I need a way to get the shop info like email, contact number, address, manager (or any) name etc.
I don't think scraping is an option as all websites have different structure. But I'm all ears for any suggestions.
An example website gymshark.com. Its products: https://www.gymshark.com/products.json

Use your Admin API access token to make a GQL query on the shop resource. Or make a RestAPI call to Shop. If all you have is a storefront API token, then you can call for the shop resource as well.

Related

Avoid users to use Organization API by Redirect or Forward API

I have a Organization API which has more function than customers API (I am using platform from a provider), customers want to have POST method /api/createOrder, however, this API is only available in Organization API. I don't know what I should look for, redirect API or forwarding API? Scenario: I want users to call POST API for example: middleAPI/api/createOrder (users will input data, ex: name of order, productID) and it sends data to POST organizationAPI/api/createOrder.
Can anyone give me an answer and step-by-step instructions (JS or Python is the best, I am not good at Java or .ASP)? (I am new). Thanks lots guys.
I have tried to look for redirect or forwarding API but don't know what is suitable.

How to get the authorized user's organization detail via LinkedIn API

The document shows that the r_fullprofile member permission is needed to get the user's organizations field.
I can not find in the document way to get the r_fullprofile permission.
I have already created new developer application.
Question:
How to get permission to fetch user's organization data via API call.
As per my understanding, I have only seen basic and lite profile member permissions.
Currently LinkedIn provides only 3 type of products, which are given below
and the scopes are provided based on these products.
For you requirement, you can opt for the marketing developer program, which will give the permission r_organization_admin
and using this permission, you can use following endpoint to get user's organizations along with roles.
We also did similar things in our app, where we list down user's organizations and user can select them to share their posts from our app.

How to access my own news feed and videos, photos I share?

I'm just making a simple widget where I can display my facebook feed as customized, like grid view.
When I was submitting for app review, there was so much permission when it was my own feed only. I have no plans for visitors to like login into my site. It's just my own feed on my site on grid view.
Are there other simple ways to do this rather than graph API? Simply to get my facebook feed as JSON.
If it is just for your own account, you do not need review. Review is only neccessary if you want to enable other users to use your App - or, for example, if you want to get data of Pages you do not own.
Just use a User Token with the correct permissions to get your account data with the Graph API.

Instagram: Is it possible to get user's name, follower numbers, and search photos with #tag?

I once asked this question.
Is it possible to use Instagram API in order to make a user list according to the number of followers?
And I am not a programmer, just a salesman.
And it seems like we cannot make this influencer finding tool by using "official" Instagram API. So I have looked for other solutions and found a way to get data from Instagram by using other API and JSON.
Please refer to these links.
https://github.com/whizzzkid/instagram-reverse-proxy
How can I get a user's media from Instagram without authenticating as a user?
Obtaining Instagram Access Token
My goal is creating an influencer finding tool, so I need to find photos with #tag and make user list accordingly to the number of followers of the user.
My question is;
1 Is it possible to get data such as user name, follower numbers, photos with certain #tag? by using non-official API and JSON?
2 And suppose we made it, then Instagram will find out our products and ban our accounts or service? It seems they do not allow us to use non-official API.
I would appreciate it if you could teach me whether we can make it or not, in a way that you talk to the person who does not know much about JSON or so.
Thank you!
Using unofficial API is always risky, its against their terms and policy.
You can use official APIs to make get this info.
You first have to make hashtag API , which gives you posts with username (no follower count), then for each user, you have make another API call to get user info, this will give you follower counts, bio and other details.
The 2 APIs needed are below, you need public_content scope permission and have to get your app approved by instagram and go to live mode.
https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN
https://api.instagram.com/v1/users/{user-id}/?access_token=ACCESS-TOKEN

OneNote ClassNotebook data from REST API has wrong students list

I'm running OneNote add-in that use OneNote REST APIs.
While investigating an issue from one of our user, I found the class notebook data from REST API only have one student in students field but the user said that there are more in OneNote app.
So, here is data from REST API. And I asked their class notebook manage screen and there is only one - But they see lists in OneNote app.
Is this something different type of notebook?
The response indicates that single student entry is a group (see 'principalType'), while the teachers are of type 'Person'. It looks like the students were added as a group, which is why you only see that group in the API response and in the Add/Remove students screen. That group was expanded into its individual students when the notebook was created. The teacher will see the students in the OneNote client, but only the group in the Class Notebook Creator app.
You can use the Azure AD APIs to get the list of students who are part of that group.
By the way, the API response and screenshots you included contain some personal information that you may want to remove :)