Is it possible to retrieve pictures taken on Monday?
It's not possible. OData Version 4.0 offers no function for checking the day the week. See list of Built-in Query Functions. And even if it did, OneDrive doesn't support built-in query functions. See Filtering a collection in OneDrive API documentation.
Related
It seems Twitter made lots of changes to API and Webapp so many methods that used to work in the past do not work anymore.
Which method does work as of today (April 2022) to scrape historical tweets from specific users at least the last 4+ years?
Selenium scraping: open https://www.twitter.com/ and scroll down until you have the history you need
not working, only 1 month data
https://pypi.org/project/GetOldTweets3/ - Twitter scraping of older tweets
seems to have stopped working? https://github.com/Mottl/GetOldTweets3/issues/98
Twitter API v2, Academic Research, full archive (free): https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
?
Twitter Premium API 1.1 full archive (paid): https://developer.twitter.com/en/docs/twitter-api/premium/search-api/overview
?
There is a python based library named twint. It's an un-official sdk for twitter public API. you won't require twitter developer account or any access token.
Twint can help you in getting previous tweets and with some advanced controls.
If you feel some rate restriction from twitter for a large number of tweets, try breaking your search into smaller chunks.
Like, 10-10-2021 to 17-10-2021 (bi-weekly)
I have a sample github repo for that. Link
Hopefully, this can help!
We're building an app that analyzes twitter feed using streaming api. But it will only start analyzing after app starts. We need to download historical twitter data using API to initialize our system.
As per documentation twitter API only has until query parameter.
Is there a way to download /keep downloading the twits for given keyworkds with from to dates ?
We're using python.
As per documentation twitter API, query method that you mentioned provides "since_id" parameter. If you want to keep downloading tweetsas they come then use "until" parameter for first time n then "since _id" whenever you want to update
I'm trying to use the Google custom search engine API to query Google News. The API is working great otherwise - but I want to get News results instead of web results.
I can't find a way to either restrict the CSE to use Google News, or to ensure that my API query hits Google News rather than the web search. Does anyone know a way to achieve this?
You can use schemas from Schema.org to specify if you're only looking for articles/ blog posts.
To specify the Schema, go to Advanced settings on the Control Panel and select the required schema from here.
There was a News Search API but it's deprecated:
Important: The Google News Search API has been officially deprecated
as of May 26, 2011. It will continue to work as per our deprecation
policy, but the number of requests you may make per day may be
limited.
https://developers.google.com/news-search/
You can see some alternatives SO users recommended on this question.
I guess the title is quite self-describing.
Is there a way to determine the total count of check-ins that a Yelp business has using their API?
I don't seem to be able to find it in their API docs, and the actual API responses don't give any hints either.
Not currently, no. The full public API is documented at http://www.yelp.com/developers/documentation - if you don't see a field listed in the available fields there, it's not available for public consumption.
I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has started to enforce the 1,000 queries (?) per day limit on this deprecated service. I swear, last month I made over 10,000 API calls in one day without any errors from the service (same IP, same API key).
So I guess my question is has anyone found an alternative yet? I know yahoo boss is pretty good but I am working exclusively on Google for my projects. I do not mind spending money for for this service either as long as i can get 64 results from Google.
On that thought, how are services like Zoomrank able to bypass all Google limits? I have a subscription with Zoomrank and I can get daily rankings for all my keywords. Do they have a tie-up with Google or are they just accessing some secret service I don't know about.
Some people have suggested the new Google custom search, but i dont know how does that help me search the web? Google CS is limited to the CSE you create and searches within those engines. If I am looking for web results for Pizza, Google CS doesnt help me.
Thanks for your input. Much appreciated
UPDATE: #ggez44 points to some official Google documentation of the solution described below here: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1210656
You can use the Google Custom Search Engine to search the entire web.
In brief:
Create a CSE that searches a single site (e.g. google.com)
In the CSE control panel's Basics section, set to "Search the entire web but emphasize certain sites"
In the Sites section, delete the single site that you added when you created the CSE
Full details here:
http://www.google.com/support/forum/p/customsearch/thread?tid=56c0bd92dda351b7&hl=en&fid=56c0bd92dda351b7000495e3f500d83f
Once that's implemented, you can enable billing in the Google API Console at a CPM of $5, to a total of 10,000 queries.
Google API Console: https://code.google.com/apis/console/
Pricing: https://code.google.com/apis/customsearch/v1/overview.html#Pricing