GithubHelp home page GithubHelp logo

danielcy / tmdb_api_vercel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dongguaguaguagua/tmdb_api_vercel

0.0 0.0 0.0 41 KB

TMDB Vercel代理

Home Page: https://tmdb.melonhu.cn/

License: MIT License

JavaScript 68.86% HTML 31.14%

tmdb_api_vercel's Introduction

TMDb API Vercel

让你在**大陆快速访问TMDb的API

A vercel service to get access to TMDb in China.

原理

使用Vercel的serverless function利用nodejs作为后端,访问TMDb的数据后传入本地。

如何部署

  1. 将本项目fork至私人仓库
  2. 在Vercel中点击import导入仓库
  3. 在environment variable中添加变量:TMDB_API_KEY,值为你申请到的TMDb API密钥
  4. 点击deploy,等待部署完成
  5. 点击domains绑定你的域名,即可使用~

使用指南

TMDb的数据分为json数据和图片数据。

https://www.example.com/get/对应的是https://api.themoviedb.org/3/

https://www.example.com/img/对应的是https://image.tmdb.org/

https://tmdb.melonhu.cn为例:

tmdb_api_vercel's People

Contributors

dongguaguaguagua avatar meionhu 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.