{"id":25107318,"url":"https://github.com/magickbase/platform-api","last_synced_at":"2025-04-02T08:24:40.242Z","repository":{"id":267616401,"uuid":"901726752","full_name":"Magickbase/platform-api","owner":"Magickbase","description":"Web3Platform API client","archived":false,"fork":false,"pushed_at":"2025-03-17T07:32:29.000Z","size":314,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-03-26T19:42:47.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Magickbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-12-11T07:47:32.000Z","updated_at":"2025-02-26T04:40:17.000Z","dependencies_parsed_at":"2025-02-26T05:34:20.172Z","dependency_job_id":null,"html_url":"https://github.com/Magickbase/platform-api","commit_stats":null,"previous_names":["homura/web3platform-api","magickbase/platform-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magickbase%2Fplatform-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magickbase%2Fplatform-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magickbase%2Fplatform-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magickbase%2Fplatform-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Magickbase","download_url":"https://codeload.github.com/Magickbase/platform-api/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246779353,"owners_count":20832369,"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":"2025-02-07T23:37:06.032Z","updated_at":"2025-04-02T08:24:40.223Z","avatar_url":"https://github.com/Magickbase.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magickbase Platform API\n\n## Usage with tRPC\n\n```ts\nimport { TRPCRouter } from '@magickbase/p';\nimport { createTRPCClient, httpBatchLink } from '@trpc/client';\nimport SuperJSON from 'superjson';\n\nconst client = createTRPCClient\u003cTRPCRouter\u003e({\n  links: [\n    httpBatchLink({\n      url: `https://api-endpoint.domain/api/trpc`,\n      transformer: SuperJSON,\n      headers: {\n        Authorization: `Bearer \u003cmy-token\u003e`,\n      },\n    }),\n  ],\n});\n```\n\nIt is recommended to use tRPC and TypeScript to interact with the platform API for a better development experience\n\n![](./assets/p-client.gif)\n\n## Import this Repo\n\n```json\n{\n  \"dependencies\": {\n    \"@magickbase/p\": \"github:magickbase/platform-api\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagickbase%2Fplatform-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagickbase%2Fplatform-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagickbase%2Fplatform-api/lists"}