-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtmdb.http
55 lines (44 loc) · 1.69 KB
/
tmdb.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@key={{TMDB_KEY}}
//电影 API
GET https://api.themoviedb.org/3/movie/532321?language=zh-CN&append_to_response=images,credits&include_image_language=zh,null
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{key}}
//poster_path poster
//backdrop_path fanart
//image.logos[1].file_path logo
###
//TV API
GET https://api.themoviedb.org/3/tv/123249?language=zh-CN&append_to_response=images,credits&include_image_language=zh
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{key}}
###
//TV episode API
GET https://api.themoviedb.org/3/tv/63322/season/1/episode/1?language=zh-CN&append_to_response=credits
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{key}}
###
//图片API
GET https://image.tmdb.org/t/p/original/mkq9bJNJS9PPCQKpCMycOyiXXPK.jpg
###
//搜索电影
GET https://api.themoviedb.org/3/search/movie?language=zh-CN&query=少女与战车&page=1&include_adult=true
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{key}}
###
//搜索TV
GET https://api.themoviedb.org/3/search/tv?language=zh-CN&query=少女与战车&page=1&include_adult=true
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{key}}
###
POST https://api.openai.com/v1/chat/completions
Content-Type: application/json;charset=utf-8
Authorization: Bearer {{OPENAI_KEY}}
{
"model": "gpt-3.5-turbo",
"messages": [
{"role": "system", "content": "You are an api.I will give you a movie/tvshow file name.You need to generate a Json.\nFormat of json:{\"title\":string,\"season\":number|null,\"episode\":number|null}"},
{"role": "user", "content": "Royal.Rendezvous.2023.1080p.WEBRip.x264-RARBG.mkv"}
],
"max_tokens": 100,
"temperature": 0.1
}