wraptmdb

package module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 5 Imported by: 0

README

Github page | pkg.go

WrapTMDB-Go

English | 日本語 | 繁體中文 | 简体中文


What is wrapTMDB ?

wrapTMDB is a wrapper collection for wrapping TMDB API from their doc and implementing in different program languages.

It helps developer to request Movies or TV shows for infomation and metadata.

This repo written by Golang and publich in pkg.go,
see more here.


What kinds of projects are appropriated using with?

  • If you want to make a client to track new movies infomation.
  • If you want to make a tool helping you to manage your movie files or videos.
  • Even if you want to make a application to replace TMDB offical website. (( lmao
  • ...

Useage

Install:
$go get github.com/wrapTMDB/wraptmdb_go

Before use this tool, make sure already have your api_key.

package main

import (
	"fmt"
	wraptmdb "github.com/wrapTMDB/wraptmdb_go"
)

func main() {
	//initialize
	wraptmdb.Init("Your api_key")
	wraptmdb.SetHeader(map[string]string{
		"User-Agent": "wraptmdb-go dev",
		"Referer":    "wraptmdb-go",
	})
	//call function
	msg := wraptmdb.Movies.GetDetail("624860", "")

	fmt.Print(msg)
}


How do I recognize these APIs ?

with your intuition:
data := wrapTMDB.Movies.GetDetails("624860");

alt text

data := wrapTMDB.Collections.GetTranslations("654321", "en-US");

alt text

data := wrapTMDB.TVseasons.GetImages("54321", "65421", "en-US");

alt text

Join Development ?

$git clone https://github.com/wrapTMDB/wraptmdb_go &&
npm install ||
touch src/main.go

Others

*** leave a star, hope this tool would give you a big help. ***

THANK YOU :)

Any request are welcome.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Account account
View Source
var Authentication authentication
View Source
var Certifications certifications
View Source
var Changes change
View Source
var Collections collection
View Source
var Companies companies
View Source
var Configuration configuration
View Source
var Credits credits
View Source
var Discover discover
View Source
var Find find
View Source
var Genres genres
View Source
var GuestSessions guestsessions
View Source
var KeyWords keywords
View Source
var Lists list
View Source
var Movies movie
View Source
var Network network
View Source
var People people
View Source
var Reviews reviews
View Source
var Search search
View Source
var TV tv
View Source
var TVEpisodes tvEpisodes
View Source
var TVepisodesgroups tvepisodesgroups
View Source
var TVseason tvseason
View Source
var Trending trending
View Source
var Watchproviders watchproviders

Functions

func Init

func Init(input string)

#region function

func SetHeader

func SetHeader(input map[string]string)

header

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL