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.
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.
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.
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.
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.
Is your bundle identifier in google api console and bundle id in Xcode project are same?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With