{"id":19426022,"url":"https://github.com/stdakov/bgpost","last_synced_at":"2025-08-02T11:33:14.464Z","repository":{"id":102576763,"uuid":"314601691","full_name":"stdakov/bgpost","owner":"stdakov","description":"Package tracking, using data from the Bulgarian post","archived":false,"fork":false,"pushed_at":"2024-08-13T06:40:34.000Z","size":581,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T17:47:02.695Z","etag":null,"topics":["bgpost"],"latest_commit_sha":null,"homepage":"https://bgpost.dakovdev.com/","language":"JavaScript","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/stdakov.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-20T15:59:46.000Z","updated_at":"2024-08-13T06:40:38.000Z","dependencies_parsed_at":"2024-08-13T07:50:59.260Z","dependency_job_id":"902c8480-6ed2-442a-a9e3-b26f61c6f4d3","html_url":"https://github.com/stdakov/bgpost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stdakov/bgpost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdakov%2Fbgpost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdakov%2Fbgpost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdakov%2Fbgpost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdakov%2Fbgpost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdakov","download_url":"https://codeload.github.com/stdakov/bgpost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdakov%2Fbgpost/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378965,"owners_count":24240907,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bgpost"],"created_at":"2024-11-10T14:05:40.894Z","updated_at":"2025-08-02T11:33:14.437Z","avatar_url":"https://github.com/stdakov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bgpost\n\nThis api uses screen scraping to get the package travelling information from the bulgarian post.\n\n## Guidelines\n\n### Tracking number\n\n#### For international shipments:\n\n13 characters: First letter R, C, E or V, followed by a second letter from A to Z, followed by nine digits, followed by two letters with the country code from which the shipment was sent.\n\nFor example: **RH054250664CN**, **CP004152151EN**, **EC610548787UA**, **VV015975882ES**.\n\n#### For domestic shipments:\n\nAn alphanumeric combination of thirteen characters. The number starts with the letters PS.\n\nFor example: **PS123456789A**, **PS004152151EN**, **PS610548787UA**, **PS015975882ES**.\n\n### RESTful URLs\n\n- Get package data:\n  - GET https://bgpost.dakovdev.com/api/v1/tracking?code=tracking-number\n\nGood response:\n\n```json\n[\n  {\n    \"date\": \"09.08.2020   22:35\",\n    \"location\": \"SINGAPORE SAL\",\n    \"event\": \"Insert item into bag (Otb) and Send item abroad\",\n    \"info\": \"\",\n    \"status\": \"traveling\"\n  },\n  {\n    \"date\": \"12.08.2020   22:35\",\n    \"location\": \"SINGAPORE SAL\",\n    \"event\": \"Send item abroad (EDI-received)\",\n    \"info\": \"\",\n    \"status\": \"traveling\"\n  },\n  {\n    \"date\": \"31.08.2020   11:15\",\n    \"location\": \"SOFIA LC/AO\",\n    \"event\": \"Receive item at office of exchange (Inb)\",\n    \"info\": \"\",\n    \"status\": \"traveling\"\n  },\n  {\n    \"date\": \"31.08.2020   13:18\",\n    \"location\": \"SOFIA LC/AO\",\n    \"event\": \"Send item to domestic location (Inb)\",\n    \"info\": \"\",\n    \"status\": \"traveling\"\n  },\n  {\n    \"date\": \"11.09.2020   16:30\",\n    \"location\": \"IRM CC 1880\",\n    \"event\": \"Deliver item (Inb)\",\n    \"info\": \"\",\n    \"status\": \"traveling\"\n  }\n]\n```\n\nBad response (wrong or not supported tracking number):\n\n```json\n[\n  {\n    \"date\": \"\",\n    \"location\": \"\",\n    \"event\": \"\",\n    \"info\": \"\",\n    \"status\": \"wrong_code\"\n  }\n]\n```\n\nBad response (missing information):\n\n```json\n[\n  {\n    \"date\": \"\",\n    \"country\": \"\",\n    \"location\": \"\",\n    \"event\": \"\",\n    \"info\": \"\",\n    \"status\": \"no_data\"\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstdakov%2Fbgpost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstdakov%2Fbgpost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstdakov%2Fbgpost/lists"}