- Visit OMDB: Go to http://www.omdbapi.com/
- Get API Key: Click on "Get a free API Key" or visit http://www.omdbapi.com/apikey.aspx
- Fill Form: Complete the simple form with your email
- Check Email: You'll receive your API key via email
- Copy Key: Copy your API key from the email
- Open Config File: Navigate to
app/src/main/java/com/rajveer/anitrack/data/remote/Config.kt - Replace Placeholder: Change
YOUR_OMDB_API_KEY_HEREwith your actual API key - Save File: The app will now use your API key
- Movie & TV Show Data: Comprehensive information from IMDB
- Search Functionality: Search across movies, TV series, and episodes
- Detailed Information: Plot, ratings, cast, director, genres, etc.
- IMDB Ratings: Official IMDB ratings and vote counts
- Offline Caching: Content is cached locally for offline viewing
- Free Tier: 1,000 requests per day (more than enough for personal use)
- Rich Data: Plot summaries, cast, director, ratings, genres
- IMDB Integration: Direct access to IMDB database
- Multiple Types: Movies, TV series, episodes
- Search Options: By title, year, type, and more
- Never commit your API key to version control
- Keep it private - don't share it publicly
- Consider using BuildConfig for production apps
If you see empty content:
- Check your internet connection
- Verify your API key is correct
- Check the logcat for error messages
- Ensure you haven't exceeded daily request limit
- Note: OMDB doesn't provide poster images, so you'll see placeholder images
- Free Tier: 1,000 requests per day
- Request Delay: 250ms between requests (built-in)
- Caching: Reduces API calls significantly
Once API is working:
- Test the app with real data
- Customize the UI as needed
- Add more features like favorites, watchlist
- Implement search functionality
- Add show details and episodes
- OMDB API Docs: http://www.omdbapi.com/
- IMDB: https://www.imdb.com/
- GitHub Issues: Report any app-specific issues here
Happy coding! π Your AniTrack app is now powered by OMDB and IMDB data!