{"id":13493068,"url":"https://github.com/UweTrottmann/tmdb-java","last_synced_at":"2025-03-28T11:31:34.968Z","repository":{"id":4853932,"uuid":"6008475","full_name":"UweTrottmann/tmdb-java","owner":"UweTrottmann","description":"Java wrapper around themoviedb.org API v3 using retrofit2 (inofficial).","archived":false,"fork":false,"pushed_at":"2024-06-17T13:45:18.000Z","size":993,"stargazers_count":171,"open_issues_count":5,"forks_count":62,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-08-01T19:45:49.186Z","etag":null,"topics":["android","java","movies","tmdb","tv"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"FoxxMD/laravel-doctrine","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UweTrottmann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-09-29T11:15:22.000Z","updated_at":"2024-06-07T14:13:28.000Z","dependencies_parsed_at":"2024-06-07T14:15:19.803Z","dependency_job_id":"a9375437-212e-4a6b-983c-b3d0eafeaea1","html_url":"https://github.com/UweTrottmann/tmdb-java","commit_stats":{"total_commits":443,"total_committers":24,"mean_commits":"18.458333333333332","dds":0.4717832957110609,"last_synced_commit":"bcaef2ae1ac578c364309a7939402233f7d800cc"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UweTrottmann%2Ftmdb-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UweTrottmann%2Ftmdb-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UweTrottmann%2Ftmdb-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UweTrottmann%2Ftmdb-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UweTrottmann","download_url":"https://codeload.github.com/UweTrottmann/tmdb-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222376246,"owners_count":16974312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","java","movies","tmdb","tv"],"created_at":"2024-07-31T19:01:11.905Z","updated_at":"2024-10-31T07:31:09.271Z","avatar_url":"https://github.com/UweTrottmann.png","language":"Java","readme":"**[Pull requests](CONTRIBUTING.md) (e.g. support for more API endpoints, bug fixes) are welcome!**\n\n# tmdb-java\n\nA Java wrapper around the [TMDb v3 API](https://developer.themoviedb.org/reference/intro/getting-started) using [retrofit 2](https://square.github.io/retrofit/).\n\n## Usage\n[Available on Maven Central](https://central.sonatype.com/search?q=tmdb-java)\n\nAdd the following dependency to your Gradle project:\n\n```groovy\nimplementation(\"com.uwetrottmann.tmdb2:tmdb-java:2.11.0\")\n```\n\nor your Maven project:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.uwetrottmann.tmdb2\u003c/groupId\u003e\n    \u003cartifactId\u003etmdb-java\u003c/artifactId\u003e\n    \u003cversion\u003e2.11.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nUse like any other retrofit2 based service. For example:\n\n```java\n// Create an instance of the service you wish to use\n// you should re-use these\nTmdb tmdb = new Tmdb(API_KEY);\nMoviesService moviesService = tmdb.moviesService();\n// Call any of the available endpoints\ntry {\n    Response\u003cMovie\u003e response = moviesService\n        .summary(550)\n        .execute();\n    if (response.isSuccessful()) {\n        Movie movie = response.body();\n        System.out.println(movie.title + \" is awesome!\");\n    }\n} catch (Exception e) {\n    // see execute() javadoc \n}\n```\n\nSee test cases in `src/test/` for more examples and the [retrofit website](https://square.github.io/retrofit/) for configuration options.\n\n### Android\nThis library ships Java 8 bytecode. This requires Android Gradle Plugin 3.2.x or newer.\n\n## Proguard / R8\nIt is likely not every method in this library is used, so it is probably useful to strip unused ones with Proguard.\nApply the [Proguard rules for retrofit](https://square.github.io/retrofit/#download).\n\nThe specific rules for this library are [already bundled](src/main/resources/META-INF/proguard/tmdb-java.pro) into the \nrelease which can be interpreted by R8 automatically, ProGuard users must manually add the rules.\n\n## License\n\nThis work by [Uwe Trottmann](https://uwetrottmann.com) is licensed under the [Apache License 2.0](LICENSE.txt).\n\n[Contributors](https://github.com/UweTrottmann/tmdb-java/graphs/contributors) and changes are tracked by Git.\n\nDo not just copy, make it better.\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUweTrottmann%2Ftmdb-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUweTrottmann%2Ftmdb-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUweTrottmann%2Ftmdb-java/lists"}