{"id":15017293,"url":"https://github.com/mohith01/vocab_api","last_synced_at":"2025-04-23T14:48:57.590Z","repository":{"id":62587793,"uuid":"380139228","full_name":"mohith01/vocab_api","owner":"mohith01","description":"Vocabulary.com api","archived":false,"fork":false,"pushed_at":"2021-11-11T08:11:09.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T21:05:35.816Z","etag":null,"topics":["anki","api","python3","vocabulary"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/vocab-api/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohith01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-25T05:58:37.000Z","updated_at":"2024-06-22T15:17:22.000Z","dependencies_parsed_at":"2022-11-04T07:35:04.666Z","dependency_job_id":null,"html_url":"https://github.com/mohith01/vocab_api","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/mohith01%2Fvocab_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohith01%2Fvocab_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohith01%2Fvocab_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohith01%2Fvocab_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohith01","download_url":"https://codeload.github.com/mohith01/vocab_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250456977,"owners_count":21433723,"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":["anki","api","python3","vocabulary"],"created_at":"2024-09-24T19:50:16.216Z","updated_at":"2025-04-23T14:48:57.565Z","avatar_url":"https://github.com/mohith01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VOCAB_API\r\n\r\nThis package has two main features:\\\r\nIf given the vocabulary.com lists, it returns all the words as a python list\r\n```py\r\nfrom vocab_api import get_list\r\nl = get_list(\"https://www.vocabulary.com/lists/7813867\")#Insert the vocab list here\r\nprint(l)\r\n```\r\n\r\nThere is also a class called Words which contains following features:\\\r\n- word_name\r\n- short_desc\r\n- long_desc\r\n- similar\r\n\r\n```py\r\nfrom vocab_api import Word\r\nw = Word(\"callow\")\r\nprint(w.as_dict())\r\n```\r\n![image](https://user-images.githubusercontent.com/42903811/123502310-13fa1a00-d669-11eb-8242-00b5621f0b70.png)\r\n\r\nI have used html because it would be easy to push into anki. If you \\\r\nwant text then you can use bs4 text property\\\r\nIn the above case if i want my short_desc to be in text:\r\n```py\r\ndict1 = w.as_dict()\r\ndict1['short_desc'][0].text\r\n```\r\nwould solve the issue\r\n\r\n---\r\n\r\n### Vocabulary.com list to Anki package\r\nI had created a script that scraps vocabulary.com list and then scraps the meaning of each of word in list from vocabulary.com dictionary and then exports it as an Anki Package using default css. The script is uploaded in github as vocab_list.py\r\n\r\n![image](https://user-images.githubusercontent.com/42903811/141261661-9ba038fa-ba86-42d4-9540-3ddf0a6f695d.png)\r\nThe function will create a package by the name called default.apkg\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohith01%2Fvocab_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohith01%2Fvocab_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohith01%2Fvocab_api/lists"}