How to use Spotify API to find path between two artists - spotify-app

I am trying to mimic this
site :http://boilthefrog.playlistmachinery.com/index.html
source code: https://github.com/plamere/BoilTheFrog
What I can do:
Use Spotify API to do queries and searches.
Problem:
How to build a graph that can find the path between the two artists

Related

Get a list of stories categories and associated sub categories from spoify web API

How to get a list of categories that are related to stories and associated sub categories in the Spotify web API. When I try to use the category endpoint /v1/browse/categories it is giving back all data including songs. How to get only the data related to stories categories alone.
Below is a screenshot from Spotify website, and I need a format similar to this from Spotify WEB API, what end point to be used ? As we can see there is a title and its associated categories below it.

How to get all unique email recipients python gmail api

I want to do a search for all unique email recipients from gmail. But I'm really struggling with API. If I was interacting with a SQL database I would want something like:
SELECT DISTINCT EmailRecipient FROM MyHypotheticalGmailTable;
But I'm not sure how to translate this into a gmail API call.
I suggest you start by taking a look at the Gmail API Quickstart with Python here.
Afterwards you may want to take a look at threads.list in order to list all the threads available and then for each one use threads.get. Since there is no direct method of retrieving the unique email recipients, you will have to handle this separately from the API calls and filter the results programmatically.
Reference
Gmail API Python Quickstart;
Gmail API messages.list;
Gmail API messages.get.

Search tags on a specific user profile (Instagram)

As a part of my yearly career goals at work I decided I would try and tackle a simple database-tyoe webpage.
I was curious if there was a way for me to search tags on a specific user profile (Instagram)?
My idea is to code a single-page webpage that uses a search function to find tagged posts on a specific users Instagram account and display the results. Is this possible? Tips or resources would be helpful.
There is currently no Instagram API endpoint that will allow you to retrieve all hashtagged photos for a specific user. You will need to retrieve all the users posts using the user https://developers.facebook.com/docs/instagram-api/reference/user/ endpoint and then filter the results.

location extracted from wit.ai is blank in facebook messenger

I'm using Wit.ai to extract the location from a sentence. When I execute the bot in Wit.ai to reflect the location it works perfectly
how is the weather in California?
You asked about the weather in California
But when I connect the Wit.ai API to my node JS app (simple, straight forward app using "RunActions") to connect to facebook messenger I get
how is the weather in California?
You asked about the weather in
There is a blank. Any ideas?
It will work in Console because we emulate a function to manage the context. But you will have to implement a function on your side to carry/update the context. We removed the mandatory "merge" but you can use or even create your own merge function that will look at the entities and eventually update the context when some entities exist
Look at the fetchWeather example here: https://wit-ai.github.io/witty-fiddle/?id=5a387f6ccb4be4a1f77f2113747a558a

Amazon MWS API - How do i get detailpageurl, product reviews, totalresult count

I have integrated the Amazon MWS api.For searching matching products from amazon i have used ListMatchingProducts as operation. I got the response as XML but in XML Some of the information isn't provided by the Amazon MWS API is there any other way to get it? The following information is not able to get from api response xml.
How do we get more pages of results beyond the first page? Right now we only get the first.
We cannot find big images for products, only getting small images
We cannot find the detailpageurl for products.
Where do we get the description? The only thing we are able to pull right now is the product "Features" but no description.
How do you search by Amazon nodes? All we see is search by keywords, but we use nodes all the time in the old Amazon PA-API.
For larger images, you can substitute out the numbers following "_SL" in the image name for the desired width. ie: SL160.jpg becomes SL400.jpg for a 400px width image.
A quick version of the detail page URL can be constructed by appending the ASIN to http://www.amazon.com/dp/
I don't think the other functionality that you desired is available through the MWS Products API.

Resources