A book query application that will fetch data from the Google book web api.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
This project relies on 2 libraries; the Glide Api and the Apache commons collections. Inside build.gradle:
dependencies {
...
implementation 'com.github.bumptech.glide:glide:4.7.1'
// Glide v4 uses this new annotation processor -- see https://bumptech.github.io/glide/doc/generatedapi.html
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
// https://mvnrepository.com/artifact/org.apache.commons/commons-collections4
implementation 'org.apache.commons:commons-collections4:4.1'
}
Just clone the github repository to your working directory
git clone https://github.com/voiceinthedark/book-query-google-api.git
In order to provide an API key to the google book api; I've included a public constructor to the class QueryBuilder that accepts a string key
public QueryBuilder(Context context, String apiKey){
mContext = context;
mApiKey = apiKey;
}
Just initialize it with the key
QueryBuilder queryBuilder = new QueryBuilder(getContext(), "<My Api Key>");
String query = queryBuilder.encodeUrl(userQuery);
- Glide - The image loading Framework
- Maven - Dependency Management
- Apache commons collections - Used to apply a fixed size queueing system
- Icons8 - Used the App icon launcher
We use Git 2.17.1 for versioning.
- Firas Abbas - VoiceInTheDark
This project is licensed under the MIT License - see the LICENSE.md file for details
- Udacity - For their android development courses