Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Unable to use Books API on google

I am scanning ISBN code and searching the book on the basis of that code on google in my iOS app. I created the app on google.I have keys for browser apps and I also created keys for iOS app.

Now here is the API I am using:-

https://www.googleapis.com/books/v1/volumes?q=isbn=9783161484100&key={API Key}

When I am passing browser app key its giving fine results in my iOS app also.

But when I am passing iOS API Key , then its giving response like this:-

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured"
   }
  ],
  "code": 403,
  "message": "Access Not Configured"
 }
}

I knows that there are 1,000 request limit in a day. But I did only 18 request till now. Then why this response is coming from iOS API Key. Is there some other way to implement book search functionality in iOS.

like image 201
vntstudy Avatar asked Sep 17 '13 05:09

vntstudy


People also ask

How do I access Google Books API?

Use the GET https://www.googleapis.com/books/v1/volumes?q={search terms} endpoint. You need to enter the exact service URL in the wizard page and select the appropriate HTTP request method. Since you will be using an API key, no authentication type is required at this point.

How do I install Google Books API?

Google will provide you with your own, unique API key. To use the API in your project, simply append key=yourAPIKey to your HTTP request URL in your application as a query string parameter.

Is Google Books API a REST API?

This web rest API was created by Google. The Google Books API endpoint is located at https://www.googleapis.com/books/v1. You can find the Google portal / hompage here. The Google Books API requires API Key, OAuth 2 authentication.

Is Google Books API free?

If you are looking for building a book library app and you want to load a huge data of books then for adding this feature, you have to use a simple API which is provided by Google, and of course, it's free.


1 Answers

Is your bundle identifier in google api console and bundle id in Xcode project are same?

like image 155
Samir Avatar answered Nov 15 '22 05:11

Samir