Is there a way to get the number of specials unlocked from Foursquare API - api

I am trying to extract the number of specials unlocked at a venue from the Foursquare API, however I can only find a list of current specials. Is this possible? What is the end point?

https://developer.foursquare.com/docs/campaigns/timeseries, but you must be a manager of the specials campaign to access these details.

Related

How get foursquare friends feed by API

How get foursquare friends feed by API? When I'm using checkins/recent, API back recent checkins only last chekin per user.
Example: some user checkins in two locations with 5 minute time interval. When I'm using checkins/recent, I see only second checking i.e. last checkin.
This case isn't currently supported by the Foursquare API. You can only get a full check-in history ("feed") for users that you have OAuth tokens for.

Ebay API: Get All Transactions By Seller

I am trying to use the Ebay API to get completed transactions for a seller(s) that is using a different account from my developer account. I've looked into GetSellerTransactions and GetOrders. Unfortunately, I am not sure if it's possible to specify a User ID different from mine. Could you point me to working example of how to do this?
To get transactions for a user you should be first authorized by that user.
You will need a developer account for that.
This links will guide you
http://developer.ebay.com/DevZone/XML/docs/WebHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=eBay_XML_API&file=GettingTokens-Getting_Tokens_for_Applications_with_Multiple_Users.html
http://developer.ebay.com/DevZone/XML/docs/WebHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=eBay_XML_API&file=DevAndTestApplications-Testing_Applications.html
Once you get the user token for a user you need to send them along with your developer credentials to make the getOrders API call for that particular user.

Is it possible to get instagram media for a location with a foursquare id in a single call?

I have a bunch of foursquare ids and I want to be able to pull instagram media with those foursquare ids.
Currently I only see one way to do this and it requires two API calls. You must first do a call to the search API using foursquare_v2_id (example call). That will return the instagram ID. Then I must do a second call to the media API using the instagram id to retrieve media (example call).
Does anyone know how to achieve these results (getting media for a location based on just a foursquare_id) with only one api call?
You can get this information through the foursquare API, with the venues/photos endpoint. See the documentation here.
This will return a list of photos for the venue, including their source. You can use this to either return all images for a venue, or just those from instagram.
After contacting Instagram it is clear that there is no way to do this at this time. If that ever changes I will come back and re-answer this question with the proper solution.
I think you have to user below api to get instagram images:
https://api.foursquare.com/v2/venues/423a1a00f964a5202f201fe3/photos?oauth_token=Z5RRDGQUWEAFCANX2OT0R2O5QUWYOP1EMOCNXT1PQWKMHVNG&v=20130706&limit=200
Using foursquare id and foursquare oaurh token you can get perticular venue images.
In response, you can check "source":{"name":"Instagram","url":"http://instagram.com"}.
source name is Instagram means it is a instagram image.
Refer: https://developer.foursquare.com/docs/venues/photos

Is it possible to get 3rd party specials data through the Foursquare venues/search endpoint?

I've noticed that when using the Foursquare API venues/search endpoint, the venues are not being returned with all the specials I find on the website using explore. These venues are returned with Foursquare specials but not 3rd party specials. I've also explored the specials/search and venues details endpoints with no luck.
The example below is the venues/search api call that will return a single venue called "Fainting Goat Pub". Currently this venue has a Scoutmob special that is visible on the Foursquare website but not in the API results.
So, is it possible to use the venues/search endpoint to get venue information along with 3rd party deals like those provided by Scoutmob? If not, how do we go about getting that information?
https://api.foursquare.com/v2/venues/search?oauth_token=XXXXXXXXX...XXXXXX&ll=39.729966,-104.987022&intent=checkin&limit=50&radius=50&v=20120101&categoryId=4d4b7105d754a06376d81259
Specials from daily deal providers are currently not exposed via the API.

using foursquare api v2 to get herenow of a venue

on the documentation page, https://developer.foursquare.com/overview/venues, it says that
The Venues Platform lets developers use foursquare as their location
layer. Applications can search our database and find information
including tips, photos, check-in counts, and here now. Searches can be
done near a point or through a whole city, and they can be restricted
to trending or recommended places. The platform offers all of this
without requiring end user authentication and is available at high
rate limits.
however, when i send request like:
https://api.foursquare.com/v2/venues/4ad7a112f964a520050d21e3/herenow?client_id=myclientid&client_secret=myclientsecret&v=20120119
i got this:
{"meta":{"code":200},"response":{"hereNow":{"count":16,"items":[]}}}
is there anything i need to do, such as register as a venue platform developer, to get the list of people who are here? thanks!
You cannot get the users information without authenticating [ :( ]
Check out the documentation at the herenow endpoint page.
Specifically the first line:
Provides a count of how many people are at a given venue. If the request is user authenticated, also returns a list of the users there, friends-first.