{"id":15462801,"url":"https://github.com/thomasbnt/devtoprofile","last_synced_at":"2025-06-28T02:02:03.932Z","repository":{"id":50393412,"uuid":"518938146","full_name":"thomasbnt/devtoprofile","owner":"thomasbnt","description":"An example of getting data from the dev.to API to display its own articles.","archived":false,"fork":false,"pushed_at":"2025-06-27T08:08:24.000Z","size":1084,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-28T02:01:56.450Z","etag":null,"topics":["api","devto","fetch","fetch-api","hacktoberfest","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://devtoprofile.thomasbnt.dev","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasbnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"thomasbnt","custom":"https://buymeacoffee.com/thomasbnt/?via=thomasbnt"}},"created_at":"2022-07-28T17:32:00.000Z","updated_at":"2025-06-27T08:08:26.000Z","dependencies_parsed_at":"2023-10-03T03:38:17.323Z","dependency_job_id":"9c144706-1c6f-4d04-941a-fb3f9cfed222","html_url":"https://github.com/thomasbnt/devtoprofile","commit_stats":{"total_commits":129,"total_committers":2,"mean_commits":64.5,"dds":"0.26356589147286824","last_synced_commit":"e8ee31b363012e9af8d2a6eda629e9bdbd6c4588"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thomasbnt/devtoprofile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasbnt%2Fdevtoprofile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasbnt%2Fdevtoprofile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasbnt%2Fdevtoprofile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasbnt%2Fdevtoprofile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasbnt","download_url":"https://codeload.github.com/thomasbnt/devtoprofile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasbnt%2Fdevtoprofile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262362035,"owners_count":23299117,"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":["api","devto","fetch","fetch-api","hacktoberfest","vue","vuejs"],"created_at":"2024-10-02T00:04:48.656Z","updated_at":"2025-06-28T02:02:03.729Z","avatar_url":"https://github.com/thomasbnt.png","language":"Vue","readme":"[![Made with VueJS](https://img.shields.io/badge/-Made%20with%20Vue.js-4fc08d?\u0026logo=vuedotjs\u0026logoColor=white)](https://vuejs.org/)\n![GitHub last commit](https://img.shields.io/github/last-commit/thomasbnt/devtoprofile)\n[![Depfu](https://badges.depfu.com/badges/e7801f7df617042ea8647068a675fa8c/count.svg)](https://depfu.com/github/thomasbnt/devtoprofile?project_id=36535)\n[![Discord](https://img.shields.io/discord/367753345575944221?color=%237289DA\u0026label=Discord%20server\u0026logo=discord\u0026logoColor=white)](https://thomasbnt.dev/discord)\n[![GitHub Sponsors](https://img.shields.io/badge/Sponsor%20me%20on%20GitHub%20-%23EA54AE.svg?\u0026logo=github-sponsors\u0026logoColor=white)](https://github.com/sponsors/thomasbnt) \n[![Twitter Follow](https://img.shields.io/twitter/follow/Thomasbnt_?color=%231DA1F2\u0026label=Follow%20me\u0026logo=Twitter)](https://twitter.com/Thomasbnt_)\n\n# Getting data from the API of DEV.TO\n\nAn example of getting data from the dev.to API to display its own articles. Work with **VueJS**, **fetch** and the **[API v0 of dev.to](https://developers.forem.com/api)** (this version will be DEPRECIATED. See [the post on DEV](https://dev.to/devteam/documenting-the-forem-v1-api-15ck)).\n\n\u003e **Note**\n\u003e\n\u003e [See the preview of this project here →](https://devtoprofile.thomasbnt.dev/)\n\n\n[![Preview of this project](https://user-images.githubusercontent.com/14293805/181784516-faf7e76c-0215-42cc-9d1e-6efdcde30c67.png)](https://devtoprofile.thomasbnt.dev/)\n\n\u003e **Note**\n\u003e\n\u003e More projects like that ?  [Check this list](https://github.com/stars/thomasbnt/lists/created-api-stuff).\n\u003e\n\u003e [![See the list of awesome projects with an API](https://img.shields.io/badge/See%20the%20list%20of%20awesome%20projects%20with%20an%20API%20→-informational?style=for-the-badge)](https://github.com/stars/thomasbnt/lists/created-api-stuff)\n\n## How to get my data ? \n\nChange this lines in the file **src/components/devto.vue** :\n\n```javascript\nconst USERID_DEVTO = '18254'\nconst USERNAME_DEVTO = 'thomasbnt'\n```\n\n## How to get my ID ?\n\nGet your ID by using the **website**. Press F12, and on the `body` element,\nyou have a `data-user` attribute. This is your ID.\n\n![How to get my dev.to ID](https://user-images.githubusercontent.com/14293805/181785438-3a7c74ee-63f8-40b0-9f25-836f72289275.png)\n\n____\n## How to develop this project\n### Project setup\n```bash\nyarn install\n```\n\n### Compiles and hot-reloads for development\n```bash\nyarn serve\n```\n\n### Compiles and minifies for production\n```bash\nyarn build\n```\n\n### Lints and fixes files\n```bash\nyarn lint\n```\n\n### Customize configuration\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n","funding_links":["https://github.com/sponsors/thomasbnt","https://buymeacoffee.com/thomasbnt/?via=thomasbnt"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasbnt%2Fdevtoprofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasbnt%2Fdevtoprofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasbnt%2Fdevtoprofile/lists"}