Automatically posts articles on note
Project description
Note Client can automate the posting of articles on note. The content of the articles is written using Markdown notation.
We are currently releasing a beta version. In the beta version, you can use major headings, minor headings, bullet points, paragraph numbers, and horizontal lines. With future updates, customization such as bold text and quotations as well as the insertion of tables of contents will be available.
Note Client's source code is made available under the MIT license.
PyPI page for this project.
Documentation
Requirements
- Python >= 3.7
Installation
pip install NoteClient
Quick Example
from Note_Client import Note
EMAIL = 'your email'
PASSWORD = 'your password'
USER_ID = 'your user_id'
TITLE = 'Sample'
CONTENT_PATH = 'content.txt'
TAG_LIST = ['sample_tag']
# > If an image is specified, the index number is entered; if not, no description is given.
# INDEX = 0
# > True if the article is to be published, False if the article is to be saved as a draft; if not specified, the article is saved as a draft.
# POST_SETTING = True
# > True if the execution screen is not displayed, False if it is displayed, or not displayed if not specified.
# HEADLESS = False
# To specify the above three options, add them to the function arguments.
note = Note(email=EMAIL, password=PASSWORD, user_id=USER_ID)
print(note.create_article(title=TITLE, file_name=CONTENT_PATH, input_tag_list=TAG_LIST, image_index=None))
## If successful(Public).
# {'run':'success','title':'Sample','file_path':'content.txt','tag_list':['sample_tag'],'post_setting':'Public','post_url':'https://note.com/USER_ID/n/abc123'}
## If successful(Draft).
# {'run':'success','title':'Sample','file_path':'content.txt','tag_list':['sample_tag'],'post_setting':'Draft'}
## If unsuccessful.
# 'Required data is missing.'
Content File(content.txt)
Sample
Help
For inquiries regarding Note Client, please contact info@mr-insane.net
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
NoteClient-0.1.4.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for NoteClient-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0571a4216b2dcf18b3be4639d1d2e5b7f212320246dc2e82925a7e59e8165fb |
|
MD5 | c17a0737cf9f4a479b516a455b89c0b3 |
|
BLAKE2b-256 | 1a66b7172427d20abfe325b3df0e99aaf0b741c5c8c9aa48a496f2187fe4c839 |