Stuck beginner: where do I get my OAuth details?

I’ve created an Application. I was given an API Key.

Now I want to access, for instance, Realtime Bus GPS data.

But you can’t access that with just an API key, as far as I can see. Only with OAuth. Is that right?

So it’s asking me for Grant type, Shared secret and Token endpoint in order to use the Explore API feature.

I’m sure I’m missing something obvious, but where do I get those?

Hi @AmbroseChapel,

You might be looking at some old documentation there. Accessing real-time bus data shouldn’t require OAuth any more - you be using the API Key method to authenticate on the API Gateway. You simply need to pass the API key as part of the HTTP Authorization header like so:

Authorization: apikey [insert api key here]
1 Like