Giter Club home page Giter Club logo

trakt_dart's Introduction

track_dart

A Trakt client library for dart.

To learn more about Trakt visit offical site

To learn more about the Trakt API visit offical site

Features

All version 2 requests for all Categories!

File any issues you see or feature requests

Getting started

  1. Adding as dependencies

    Pub.dev's installation guide

    Add this to your package's pubspec.yaml file:

    dependencies:
      trakt_dart: ^1.0.0
  2. Import it

    Now in your Dart code, you can use:

    import 'package:trakt_dart/trakt_dart.dart';

Usage

Create Instance

In order to make calls to the Trakt API, you must first inialize the TraktManager with your clientId, clientSecret, ad redirectURI. To get these, you must first register an account with Trakt, then complete the Create An App Application.

final traktManager = TraktManager(clientId: "${clientId}", clientSecret: "${clientSecret}", redirectURI: "${redirectURI}");

Example Usage

To call the trending movies endpoint:

final trendingMovies = await traktManager.movies.getTrendingMovies(extendedFull: true);

Planned Work

Since this is still a work in progress, I will be updating this package on a weekly bases until all of the endpoints are implmenented including OAuth.

To follow the progress, follow me on Twitter @damonique_b.

trakt_dart's People

Contributors

damonique-dev avatar

Watchers

 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.