{"id":21532396,"url":"https://github.com/wiktorboro/rytrme-api-python","last_synced_at":"2025-03-17T19:32:22.138Z","repository":{"id":53841251,"uuid":"491268185","full_name":"WiktorBoro/rytrme-api-python","owner":"WiktorBoro","description":"Easy way to handle the rytrme API with python","archived":false,"fork":false,"pushed_at":"2022-05-25T21:43:54.000Z","size":37,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T05:04:52.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WiktorBoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-11T20:49:22.000Z","updated_at":"2023-01-04T21:07:32.000Z","dependencies_parsed_at":"2022-09-02T22:10:50.364Z","dependency_job_id":null,"html_url":"https://github.com/WiktorBoro/rytrme-api-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiktorBoro%2Frytrme-api-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiktorBoro%2Frytrme-api-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiktorBoro%2Frytrme-api-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WiktorBoro%2Frytrme-api-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WiktorBoro","download_url":"https://codeload.github.com/WiktorBoro/rytrme-api-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244096558,"owners_count":20397439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T02:19:48.596Z","updated_at":"2025-03-17T19:32:22.108Z","avatar_url":"https://github.com/WiktorBoro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rytrme api python\n\nEasy way to handle the rytrme API with python \n\nOficial Rytr-me page: https://rytr.me/\n\nOficial Rytr-me git documentation: https://github.com/rytr-me/documentation\n\n### To get started\n\n```\npip install rytrme-api-python\n```\n\n### Next \n\n```\nfrom rytrme_api_python import get_text_from_rytr_me_api\n```\n\n### Main function\n```\nget_text_from_rytr_me_api()\n```\n\n## All attributes with basic parametrs:\n```api_key=\u003c\"YOUR API KEY\"\u003e``` - **required**\n\n```language=\"🇺🇸 English\"``` - language in which the texts will be generated - **change optional**\n\n```tone=\"Casual\"``` - tons in which the text will be - **change optional**\n\n```use_case=\"Blog Section Writing\"``` - type of text that will be generated - **change optional**\n\n```input_contexts = {\"SECTION_TOPIC_LABEL\": \"Your topic\", 'SECTION_KEYWORDS_LABEL': \"Your keywords\"}```- dictionary with your parametr, more information below - **required**\n\n```variations = 1``` - number of texts in response - **change optional**\n\n```user_id='USER1'``` - \"*For userId you need to supply user ID from your database, eg: primary key for users database table.*\" - **change optional**\n\n```formats='html'``` - html or text - **change optional**\n\n```creativity_level='default'``` - fault | none | low | medium | high | max - **change optional**\n\n## Example of use\n\n```\ninput_contexts = {\"SECTION_TOPIC_LABEL\": \"Role of AI Writers in the Future of Copywriting\", 'SECTION_KEYWORDS_LABEL': 'ai writer, blog generator, best writing software'}\n\nresponse = get_text_from_rytr_me_api(api_key=\u003c\"YOUR API KEY\"\u003e, input_contexts=input_contexts)\n\nprint(response)\n```\n\nresponse (list with dictionary):\n```\n[{'text': '\u003cp\u003eAI writers can help to generate content ideas at scale. They also get rid of writer’s block and are not a replacement for human copywriters.\u003c/p\u003e\u003cp\u003eAI writing assistants are increasingly getting popular in the workplace. Some companies use them when they need to generate content for a specific topic or niche. While digital agencies use them to generate all kinds of content for their clients.\u003c/p\u003e', 'isUnsafe': False}]\n```\n\n**If you want to write a blog section in English, the only parameter you need to complete is the input_contexts above**\n\n**If you want to write something else, change use-case and complete the appropriate dictionary**\n\n### All languages list\n**You can use name or ID as parametr. With more calls it is recommended to use ID**\n| Name | ID |\n| --- | --- |\n| 🇦🇪 Arabic | 60c4eb424660040013ca8a9f |\n| 🇧🇬 Bulgarian | 60eddd5676319d000c81dfc5 |\n| 🇨🇳 Chinese (S) | 607ae6531208a9000cb1141c |\n| 🇹🇼 Chinese (T) | 60f853a39bb0df0013c6a588 |\n| 🇨🇿 Czech | 60d014e9d6e910001341493a |\n| 🇩🇰 Danish | 60c653b4bca5d4000cc679e3 |\n| 🇳🇱 Dutch | 607adbdf6f8fe5000c1e6378 |\n| 🇺🇸 English | 607adac76f8fe5000c1e636d |\n| 🇮🇷 Farsi | 60ebc3e06f90af000c8b15f3 |\n| 🇵🇭 Filipino | 6159af6d56a355691567ec9d |\n| 🇫🇮 Finnish | 60c65338bca5d4000cc679dd |\n| 🇫🇷 French | 607adb7b6f8fe5000c1e6375 |\n| 🇩🇪 German | 607adb536f8fe5000c1e6374 |\n| 🇬🇷 Greek | 607adc966f8fe5000c1e637d |\n| 🇮🇱 Hebrew | 607c7c211ebe15000cbbc7b8 |\n| 🇮🇳 Hindi | 60ce30891d63cb0013838dfb |\n| 🇭🇺 Hungarian | 6102aa33280cab000c673c2f |\n| 🇮🇩 Indonesian | 6094f9b4addddd000c04c94b |\n| 🇮🇹 Italian | 607adb996f8fe5000c1e6376 |\n| 🇯🇵 Japanese | 607adc3d6f8fe5000c1e637b |\n| 🇰🇷 Korean | 607adc716f8fe5000c1e637c |\n| 🇱🇹 Lithuanian | 6198d279d3a709c29634bb26 |\n| 🇲🇾 Malay | 60ef33e9c218d0000c2eb058 |\n| 🇳🇴 Norwegian | 607db96c182478000c9ac2d9 |\n| 🇵🇱 Polish | 607adc056f8fe5000c1e6379 |\n| 🇵🇹 Portuguese | 607adbb56f8fe5000c1e6377 |\n| 🇷🇴 Romanian | 609fdbec6cc23d000c7c5e84 |\n| 🇷🇺 Russian | 607adc2f6f8fe5000c1e637a |\n| 🇸🇰 Slovak | 614a2cc9c1babef3e4008d48 |\n| 🇪🇸 Spanish | 607adad66f8fe5000c1e636e |\n| 🇸🇪 Swedish | 6081b157f580d2000c1baf2c |\n| 🇹🇭 Thai | 607c7bec1ebe15000cbbc7b7 |\n| 🇹🇷 Turkish | 60a4c3d60b2ef9000ce86d01 |\n| 🇻🇳 Vietnamese | 60c65522bca5d4000cc679fa |\n\n### All tone list\nYou can use name or ID as parametr. With more calls it is recommended to use ID\n| Name | ID | \n| --- | --- |\n| Appreciative | 6058207530f7b1000c1c4f86 |\n| Assertive | 6058209c30f7b1000c1c4f88 |\n| Awestruck | 6058223630f7b1000c1c4f96 |\n| Candid | 605820c030f7b1000c1c4f89 |\n| Casual | 60572a639bdd4272b8fe358a |\n| Cautionary | 605820d430f7b1000c1c4f8a |\n| Compassionate | 605820e330f7b1000c1c4f8b |\n| Convincing | 60572a639bdd4272b8fe358b |\n| Critical | 60e96f6992161b0013c6ae4a |\n| Earnest | 6058212830f7b1000c1c4f8d |\n| Enthusiastic | 6058213830f7b1000c1c4f8e |\n| Formal | 6058200830f7b1000c1c4f85 |\n| Funny | 60572a649bdd4272b8fe358c |\n| Humble | 6058215930f7b1000c1c4f8f |\n| Humorous | 6058216730f7b1000c1c4f90 |\n| Informative | 60ff8d3afc873e000c08e8b2 |\n| Inspirational | 6064c6679bde74000cea994c |\n| Joyful | 6058219030f7b1000c1c4f92 |\n| Passionate | 6058208730f7b1000c1c4f87 |\n| Thoughtful | 605821c030f7b1000c1c4f93 |\n| Urgent | 605821cc30f7b1000c1c4f94 |\n| Worried | 605821e030f7b1000c1c4f95 |\n\n### All use-case list\n**You can use name or ID as parametr. With more calls it is recommended to use ID**\n| Name | ID | input_contexts={dictyou need to complete for a given use-case} |\n| --- | --- | --- |\n| Blog Idea \u0026 Outline | 60a40cf5da9d76000ccc2828 | input_contexts={'PRIMARY_KEYWORD_LABEL': 'Your parametrs'} |\n| Blog Section Writing | 60584cf2c2cdaa000c2a7954 | input_contexts={'SECTION_TOPIC_LABEL': 'Your parametrs', 'SECTION_KEYWORDS_LABEL': 'Your parametrs'} |\n| Brand Name | 61e0224822cc129b33031a80 | input_contexts={'BRAND_DESCRIPTION_LABEL': 'Your parametrs'} |\n| Business Idea Pitch | 6062df03e20e7d000c15609b | input_contexts={'BUSINESS_IDEA_LABEL': 'Your parametrs'} |\n| Business Ideas | 61e1167527174a50fdcb55e3 | input_contexts={'INTEREST_LABEL': 'Your parametrs', 'SKILLS_LABEL': 'Your parametrs'} |\n| Call To Action | 61e01c2d5b9c5f0d9d795319 | input_contexts={'DESCRIPTION_LABEL': 'Your parametrs'} |\n| Copywriting Framework: AIDA | 60d19b16d63485000cab8c15 | input_contexts={'PRODUCT_OR_BRAND_DESCRIPTION_LABEL': 'Your parametrs'} |\n| Copywriting Framework: PAS | 60d1ac3e548c6b000c8fce5b | input_contexts={'PRODUCT_OR_BRAND_DESCRIPTION_LABEL': 'Your parametrs'} |\n| Email | 60572a629bdd4272b8fe3588 | input_contexts={'KEY_POINTS_LABEL': 'Your parametrs'} |\n| Facebook, Twitter, LinkedIn Ads | 60572a629bdd4272b8fe3585 | input_contexts={'PRODUCT_NAME_LABEL': 'Your parametrs', 'PRODUCT_DESCRIPTION_LABEL': 'Your parametrs'} |\n| Google Search Ads | 6163f3445bb5990332c018b1 | input_contexts={'PRODUCT_NAME_LABEL': 'Your parametrs', 'PRODUCT_DESCRIPTION_LABEL': 'Your parametrs', 'TARGET_KEYWORD_LABEL': 'Your parametrs'} |\n| Interview Questions | 6058693ccdebbb000c210588 | input_contexts={'INTERVIEWEE_BIO_LABEL': 'Your parametrs', 'INTERVIEW_CONTEXT_LABEL': 'Your parametrs'} |\n| Job Description | 60586b31cdebbb000c21058d | input_contexts={'JOB_ROLE_LABEL': 'Your parametrs'} |\n| Landing Page \u0026 Website Copies | 605835258c0a4a000c69c962 | input_contexts={'WEBSITE_NAME_LABEL': 'Your parametrs', 'ABOUT_WEBSITE_LABEL': 'Your parametrs', 'FEATURES_LABEL': 'Your parametrs'} |\n| Magic Command | 60ed7113732a5b000cf99e8e | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Post \u0026 Caption Ideas | 6062d819be972a000c6a05a3 | input_contexts={'POST_TOPIC_LABEL': 'Your parametrs'} |\n| Product Description | 605832f78c0a4a000c69c960 | input_contexts={'PRODUCT_NAME_LABEL': 'Your parametrs', 'ABOUT_PRODUCT_LABEL': 'Your parametrs'} |\n| Product Description (bullet points) | 60bb65ca12ba07000cdc8f64 | input_contexts={'PRODUCT_NAME_LABEL': 'Your parametrs', 'PRODUCT_FEATURES_LABEL': 'Your parametrs'} |\n| Profile Bio | 60633095de064b000c8f5cc8 | input_contexts={'ABOUT_YOU_LABEL': 'Your parametrs'} |\n| Question \u0026 Answer | 611e2a98045b460ef10242ce | input_contexts={'TOPIC_DESCRIPTION_LABEL': 'Your parametrs'} |\n| Reply to Reviews \u0026 Messages | 611e40d404b47fc3a2297a37 | input_contexts={'MESSAGE_LABEL': 'Your parametrs'} |\n| SEO Meta Description | 60583ac98c0a4a000c69c96f | input_contexts={'PAGE_META_TITLE_LABEL': 'Your parametrs'} |\n| SEO Meta Title | 60583a058c0a4a000c69c96d | input_contexts={'TARGET_KEYWORDS_LABEL': 'Your parametrs'} |\n| SMS \u0026 Notifications | 6163fe7b1d5d06c1e9693346 | input_contexts={'CONTEXT_LABEL': 'Your parametrs'} |\n| Song Lyrics | 60e6f4316ab0b5000c848c51 | input_contexts={'SONG_IDEA_LABEL': 'Your parametrs'} |\n| Story Plot | 60cdad891d63cb00138240d3 | input_contexts={'STORY_IDEA_LABEL': 'Your parametrs'} |\n| Tagline \u0026 Headline | 605838118c0a4a000c69c968 | input_contexts={'DESCRIPTION_LABEL': 'Your parametrs'} |\n| Testimonial \u0026 Review | 607c7ae91ebe15000cbbc7af | input_contexts={'NAME_LABEL': 'Your parametrs', 'REVIEW_TITLE_LABEL': 'Your parametrs'} |\n| Text Editing: Append Content | 6092917aa9c7620013304f43 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Text Editing: Continue Ryting | 6223abf9ea8eb61e65b4e691 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Text Editing: Expand Content | 60928e45a9c7620013304f11 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Text Editing: Improve Content | 60cdd8b61d63cb001382a390 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Text Editing: Paragraph Content | 60b877a110f2fb000cb004eb | input_contexts={'TOPIC_LABEL': 'Your parametrs'} |\n| Text Editing: Reword Content | 60928476a9c7620013304e89 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Text Editing: Shorten Content | 60928752a9c7620013304ea1 | input_contexts={'INPUT_TEXT_LABEL': 'Your parametrs'} |\n| Video Channel Description | 605856eec2cdaa000c2a7965 | input_contexts={'CHANNEL_PURPOSE_LABEL': 'Your parametrs'} |\n| Video Description | 6058536ec2cdaa000c2a795e | input_contexts={'VIDEO_TITLE_LABEL': 'Your parametrs'} |\n| Video Idea | 60584ffdc2cdaa000c2a7957 | input_contexts={'KEYWORDS_LABEL': 'Your parametrs'} |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiktorboro%2Frytrme-api-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiktorboro%2Frytrme-api-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiktorboro%2Frytrme-api-python/lists"}