-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathsetup.py
67 lines (56 loc) · 2.04 KB
/
setup.py
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
55
56
57
58
59
60
61
62
63
64
65
66
67
desc = """# JustWatchAPI
JustWatch.com Python 3 API
How To
----------------------------------------------------------
search for an item
----------------------------------------------------------
from justwatchapi import JustWatch
just_watch = JustWatch()
results = just_watch.search_for_item(query='the matrix')
----------------------------------------------------------
or search for combination of genres
----------------------------------------------------------
just_watch = JustWatch(genres=['act', 'scf', 'hrr'])
results_by_genres = just_watch.search_for_item()
----------------------------------------------------------
or maybe search by provider
----------------------------------------------------------
just_watch = JustWatch()
results_by_providers = just_watch.search_for_item(providers=['nfx', 'stn'])
----------------------------------------------------------
or possibly a combination of the above
----------------------------------------------------------
just_watch = JustWatch()
results_by_multiple = just_watch.search_for_item(
providers=['nfx', 'stn'],
content_types=['movie'],
monetization_types=['free'])
----------------------------------------------------------
Read api_payload.txt for more information"""
import os
from setuptools import setup
setup(
name = "JustWatch",
version = "0.5.1",
author = "Dawoud Tabboush",
author_email = "[email protected]",
description = ("A simple api for justwatch.com"),
license = "MIT",
keywords = "movies tv api",
url = "https://github.com/dawoudt/JustWatchAPI",
packages=['justwatch'],
long_description=desc,
platforms='any',
install_requires=[
'requests>=2.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)