Git Product home page Git Product logo

tvdb-java-client's Introduction

Contributors Forks Stargazers Issues LinkedIn


The TVDB Logo
thetvdb.com

tvdb-java-client

A swagger-generated TheTVDB v4 java client.
Maven Project Info - Javadoc
Report Bug - Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Recipes
  4. Contributing
  5. License
  6. Contact

About The Project

An auto-generated client for Java programmatic access to TheTVDB v4 API.

Getting Started

You'll need to register for your own API key via The TVDB API and Data Licensing

Recipes

Authenticating the default ApiClient

final ApiClientFactory clientFactory = new ApiClientFactory("MyApiKey");
clientFactory.authenticateDefaultClient();

final SearchApi searchApi = new SearchApi();
final List<SearchResult> resultList = searchApi.getSearchResults(
        "friends",  // query
        null,       // q
        "series",   // type
        null,       // year
        null,       // company 
        null,       // country
        null,       // director
        null,       // language
        null,       // primaryType
        null,       // network
        null,       // remoteId
        null,       // offset
        new BigDecimal(3) /* limit */).getData();

Obtaining an authenticated ApiClient

final ApiClientFactory clientFactory = new ApiClientFactory("MyApiKey");
final ApiClient myClient = clientFactory.getAuthenticatedClient();

// You can explicitly pass the authenticated client to each Api
final SearchApi searchApi = new SearchApi(myClient);

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT license. See LICENSE for more information.

Contact

Andy Miles - [email protected]

Project Link: https://github.com/andy-miles/tvdb-java-client

tvdb-java-client's People

Contributors

andy-miles avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.