Please could someone point me in the right direction (even with terminology to search!).
Our company has purchased a service for managing our staff team that has an API section, it doesn't say much other than "To enable your system to talk with our system please enter the URL and secret key which have been configured on your system. We will then send you the information."
They also list the info they would send (which sounds great).
It then has a box to input an API URL and a box to input a secret key.
After Googling API's, many articles talk about getting the URL from their website/service, not the other way around. They want me to provide an URL! I imagine I need something to receive the info from them? Any pointers would be greatly appreciated!
Related
I know that Airbnb haven't opened their API to the public yet, but searching the internet I found some people are using it.
I tried to contact them, and also Airbnb, but without any answers.
Does anyone here knows any contact email, page, or phone number that I can refer to?
I have read here that you can find your API key by looking at the requests that AirBNB uses in their own website. So use the web-developer tools in chrome, or firefox, or firebug in firefox and search trough the requests in the network panel until you find the key being used in any JSON request. Some urls contain this key param, you copy that :) works for me!
Oh BTW, i'd like to remind you that the API is currently not officially released to fetch data in the background while you are logged in. When you use this key, they'll know your identity. You might get blocked or at least warned by AirBNB for using their API while you are maybe not allowed to. Read their terms & conditions to make sure. I am not taking any responsibility, of course ;)
You can now find your API key on the meta tags of the source code when logged in to your dashboard. Search for canonical_host and you will find:
{"canonical_host":"www.airbnb.com","api_config":{"key":"<your-api-key>"}
Just to update this set of answers, the api is on the following address but you need to request access first.
https://www.airbnb.com/partner
It offers an FAQ that informs you about the process and it will always be updated
As far as I can tell, they have shut down this service as of today.
"Unfortunately, this is no longer available" will be what the API returns.
EDIT:
It started working again after a few days. Very odd, maybe an internal problem, or we were rate limited or something.
Log into Airbnb.com, open up the web developer console, go to the network tab, filter by type json, and look at the url and find "client_id".
I found this answer here
I am trying to create a new API in Bluemix with the API Manager service. One of the initial things that it wants to know is the "base path" of the API. I decided that must be the public URL of the API (e.g., "http://cpe-personalityexplorer.mybluemix.net/") that is common to all of my API calls, but apparently that is not the case. API Manager doesn't seem to like anything I put there, and I can't find any helpful documentation that explains what it is looking for or why it doesn't like what I entered. I don't get any error messages, just a red box around that input field and a disabled submit button.
Can someone tell me exactly what I should enter in that field?
After some digging, it seems that this field is asking for the root of the API URL, sans protocol, server, and domain. I left the field blank and the API Manager replaced it with "/".
It would be nice if API Manager would give an error message in this situation.
I feel stupid asking this, but does anyone know how to register for a Fandango API key?
I'm trying to make a silly little app that pulls up available movie tickets on Fandango. There's tons of documentation on the internet about how to use their API, but nothing about registering. I tried their registration link on their site, but it just says "Registration is currently disabled":
https://developer.fandango.com/member/register
Do they not allow anyone to get a new API key anymore? Or am I just doing something stupid?
From Fandango:
Unfortunately we don't currently provide direct access without significant anticipated scale of ticket sales. We do offer a couple of alternative options.
You can access a variety of links and widgets via our presence on Commission Junction.
Alternatively, you can license showtime data from Gracenote or CinemaSource, and through that license, you'd be able to link directly to our site.
I have been trying for the past several hours to make an authenticated request to the docker hub api. First of all, let me say that their documentation is very unclear. There are several different subdomains that you have to cycle through. The ones I have seen are index.dockerhub.io, registry-1.docker.io/v1/ auth.docker.com/token. There were others. But you get the point. Its like their api is managed by 30 different people or something and they forgot to have a meeting about how to unify their api. It feels like I have read just about everything I could find on the internet about how to do what I am trying to do, and it still is very unclear to me what I am supposed to do.
Their documentation states that I am supposed to get an auth token before making certain request. Ok. Fine. How do I do that? I got lucky and stumbled across the endpoint, https://auth.docker.io/v2/token/ no thanks to their api. I found it by just guessing. I don't know that version 2 is capable of even doing what I am trying to do.
What steps do I need to take to make authenticated request to the dockerhub api. What I am trying to do more specifically, is I am trying to query information about the given images that are on the hub, like the size of the images, and the basic port information that is available. I know its possible, because I have used services that do it. So, how do you properly authenticate request to get this information?
So after a few more hours of working on this problem, I came across someone who had similar issues and wrote a blog post about exactly how to solve it. The short answer is the endpoint that was missing from the docker api documentation is https://cdn-registry-1.docker.io/v1/. Why didn't they document their api better? I don't know. If anyone wants to read the full article about how this is done, you can find it at http://www.appcontainers.com/requesting-image-information-using-the-public-docker-api/
This was the most helpful article I have found on the subject. Hopefully this will help some other poor soul who is trapped in the confusion known as the docker api.
You will have to excuse my confusion here...
Basically, we have clients with hosted accounts and I need to somehow get a list of emails per domain name.
Say, test.com is a Google hosted account and that it uses Google's email service for admin#test.com, and several more, how can I find (programmaticaly) this complete list of emails?
I've looked around for a while and it only brought more confusion. I think my question relates to this Google API document.
While I'm usually armed with at least one line of code, I'm really clueless on this issue. Perhaps someone out there might shed light on this issue.
PS: I also tried Google API Explorer, but it didn't help at all.
You should use Google Apps Reporting API and get the Accounts report. Of-course, OAuth is recommended auth approach.
http://code.google.com/googleapps/domain/reporting/google_apps_reporting_api.html#Accounts_Report
Provisioning API can also perform the same task and with a real time list of users:
http://code.google.com/googleapps/domain/provisioning_API_v2_developers_guide.html#Retrieving_Users_in_a_Domain
But, its going to be slower for bigger domains since its a paginated feed. Reporting API on the other downloads a CSV file.