feat: Initialize project
This commit is contained in:
1 parent
eccc32337f
commit
3c1050898e
65 files changed
+5661
-596
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import client from '@/network';
|
||||
|
||||
const API = {
|
||||
top({ page }: { page: string }): Promise<MovieDBResponse> {
|
||||
return client.get('/discover', {
|
||||
params: {
|
||||
page,
|
||||
sort_by: 'vote_average.desc',
|
||||
'vote_count.gte': 300,
|
||||
'vote_average.lte': 10,
|
||||
'vote_average.gte': 0
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export default API;
|
||||
Reference in new issue
Block a user