-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
John Erinjery edited this page Apr 14, 2023
·
1 revision
neosekai-api offers mainly two objects to use as part of the API. These are Novel and NovelChapter.
- To use these classes in your Python program, you have to import them as shown:
from neosekai_api import Novel, NovelChapter- To use the methods provided by
NovelorNovelChapter, call them as objects as shown:
from neosekai_api import Novel, NovelChapter
novel = Novel('https://www.neosekaitranslations.com/novel/oresuki/')
chapter = NovelChapter('https://www.neosekaitranslations.com/novel/oresuki/volume-1/chapter-3-part-3/')
# the links and variable names are just part of the example