{"id":22480237,"url":"https://github.com/pinatacloud/files-api-starter","last_synced_at":"2025-03-27T18:28:02.679Z","repository":{"id":261645663,"uuid":"884920327","full_name":"PinataCloud/files-api-starter","owner":"PinataCloud","description":"A collection of scripts that demonstrate how to use the Files API","archived":false,"fork":false,"pushed_at":"2024-11-14T15:14:45.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T21:35:36.972Z","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/PinataCloud.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-11-07T16:14:23.000Z","updated_at":"2024-11-14T15:14:48.000Z","dependencies_parsed_at":"2025-02-01T21:28:50.598Z","dependency_job_id":"a71dcc0a-0fc2-40b3-807b-81a30ac13be4","html_url":"https://github.com/PinataCloud/files-api-starter","commit_stats":null,"previous_names":["pinatacloud/files-api-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinataCloud%2Ffiles-api-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinataCloud%2Ffiles-api-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinataCloud%2Ffiles-api-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinataCloud%2Ffiles-api-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PinataCloud","download_url":"https://codeload.github.com/PinataCloud/files-api-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245900989,"owners_count":20690950,"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-12-06T15:20:13.803Z","updated_at":"2025-03-27T18:28:02.652Z","avatar_url":"https://github.com/PinataCloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# files-api-starter\n\nThis repo includes some basic API calls to help get you started using the Files API.\n\n**Watch the video!**\n[![IMAGE ALT TEXT HERE](https://dweb.mypinata.cloud/files/bafybeib7vgvirnymt53oefbpvx2tg6v5awr56nze2sihkt4jjcn2q22qfm)](https://www.youtube.com/watch?v=sisFpJs6hcg)\n\n\n\u003e [!TIP]\n\u003e If you plan to use Pinata in a Typescript/Javascript enviornment, check out our [SDK](https://github.com/PinataCloud/pinata)!\n\n## Getting Started\n\nFirst follow [these steps](https://docs.pinata.cloud/quickstart) to make a free Pinata account and get your API key and Gateway URL\n\nBy default this repo will use [Bun.sh](https://bun.sh) so install this first unless you plan to run the files with another program.\n\nClone the repo to your machine and install the dependencies\n\n```bash\ngit clone https://github.com/PinataCloud/files-api-starter\n\ncd files-api-starter\n\nbun install\n```\n\nRename the `.env.example` file to `.env` and paste in your Pinata JWT API key and Gateway URL\n\n```\nPINATA_JWT=\nGATEWAY_URL=\n```\n\n## Usage\n\nStart using the API by running the following:\n\n```\nbun upload-files.ts\n```\n\nContinue testing by running the other files included in the repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinatacloud%2Ffiles-api-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinatacloud%2Ffiles-api-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinatacloud%2Ffiles-api-starter/lists"}