Skip to content

wrapTMDB/wraptmdb_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WrapTMDB-Go


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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages