Apple Music API get history between Date range - apple-music

I would like to get a history of the user's recently played resources. However, I do not want to get the full history but the history between a specific date range.
Example:
Max has been listening to Apple Music for 5 years now. I would now like to get a list of all the songs he listened to between 1. January 2016 and 31 December 2016.
I haven't found anything about that in Apple's API Documentation here.
Does anybody know a workaround to accomplish something as mentioned in the above example? Any help would be greatly appreciated!

Related

What is the Apple Developer API to access Apple AirTag data?

I am led to believe that developers can programmatically query their Apple AirTags for information such as location, direction distance away etc but can't find any samples, documentation or relevant API information to do this?
How can I access AirTag data or where can I find information that explains how to do this?
I can recommend you this discussion in the apple forum https://developer.apple.com/forums/thread/678600
The API is requested since the AirTag release, but i did not notice any release on WWDC this year. So I dont think there is an API out there at the moment.
Maybe it will come next year (for sure it will one day, so many guys want that API ;))

Did Yahoo Finance just discontinue their CSV download? [duplicate]

This question already has answers here:
Has Yahoo suddenly today terminated its finance download API?
(4 answers)
Closed 5 years ago.
This used to work yesterday:
http://finance.yahoo.com/d/quotes.csv?s=AAPL+GOOG+MSFT
Now I get this message:
It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com.
But this makes no sense. Finance.Yahoo.com isn't a download that is usable in excel or a program. Does Yahoo still have a way to do this via some other URL or did they just cut us all off? Does anyone know a good alternative?
Yes, they just discontinued it without a warning ... It's such a shame it's so difficult to find a free source of stock quotes. This information should be in the public domain.
[EDIT] I found this alternative, which is free and seems reliable: www.alphavantage.co.
It works for stock quotes (US-only though) and currency rates.
Only thing we can't do is ask for several stocks at the same time, you need to send several requests (hello DispatchGroup).

Twitter api search geocode makes issues

For me
https://api.twitter.com/1.1/search/tweets.json?geocode=9.98%2C76.28%2C5km
returns tweets
but for
https://api.twitter.com/1.1/search/tweets.json?geocode=9.98%2C76.28%2C15km
returns none
For the second the radius is increased to 15km
Why it is not working? I tried it on
https://dev.twitter.com/rest/tools/console
Some people (including myself) have started experiencing issues with existing geo-related searches from approximately 2014-11-20 23:00 UTC. Perhaps it relates to your problem.
Looks like Twitter developers have been aware of this issue for at least last four days and are working on it. There is no ETA though, last response from Twitter published 12 hours ago says:
...we are aware of the issue and working to resolve it, but it may be a few days. We apologise for the disruption to your applications, and appreciate your patience. We're hopeful that we can get a fix deployed soon, but some things take time
Please see these discussions for more details:
[1] Search API returning (very) sparse geocode results: https://twittercommunity.com/t/search-api-returning-very-sparse-geocode-results/27998
[2] Twitter Advanced Search Not Working: https://twittercommunity.com/t/twitter-advanced-search-not-working/28114

Is data from past dates on the YouTube Analytics API guaranteed not to change?

Can Google guarantee that data pulled from YouTube Analytics API for any arbitrary date (e.g. March 20th, 2013) will not change in future? For example we pull all kind of reports for March 20th, 2013 today and tomorrow - is it possible to see difference in numbers?
If changes are possible - how frequent such changes could be (all time, once per month, once per year) and how big are they (numbers can get change significantly by 100%-1000%, numbers can get change slightlty by 1%-2%)?
There's no such guarantee made, and we can't offer the level of detail you're asking about regarding potential variations.
The YouTube Analytics API uses the same backend data source that the web interface uses. In general, help material that covers questions about data from the web interface also applies to data from the API.

Is there a way to get the most searched words on the internet recently?

I'd like to get a big list (say 1,000 or more) of word phrases that people search for on the internet recently (anything from the most recent month or week or day is ok). Results from Google or any of the bigger search sites would be okay. And is there a way to do this programmatically? Python would be first choice, shell scripts works too. Thanks!
Bonus points for historical results too.
http://www.google.com/trends
google is pretty data friendly
they even provide rss feeds
http://www.google.com/trends/hottrends/atom/hourly
Yes, It's python friendly with API and easy_install to boot!
http://pypi.python.org/pypi/pyGTrends/0.81
Along with what TelsaBoil post, Google Insights looks to give historical results too
http://www.google.com/insights/search/
I think you should check this ones:
http://www.google.com/trends/hottrends
http://www.google.com/trends/hottrends/atom/hourly [RSS Hourly Feed]
http://pypi.python.org/pypi/pyGTrends/0.81 [Python Google Trends Information Retrieval]

Resources