{"id":21516605,"url":"https://github.com/onlyf0ur/spiget-deno","last_synced_at":"2025-12-11T21:16:14.605Z","repository":{"id":57675430,"uuid":"309696996","full_name":"OnlyF0uR/Spiget-Deno","owner":"OnlyF0uR","description":"Simple Spiget API wrapper for Deno","archived":false,"fork":false,"pushed_at":"2020-11-04T13:24:58.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T18:46:05.594Z","etag":null,"topics":["deno","deno-module","denoland","spiget","spiget-api","spigotmc","wrapper"],"latest_commit_sha":null,"homepage":"https://deno.land/x/spiget_deno","language":"TypeScript","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/OnlyF0uR.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":"2020-11-03T13:36:12.000Z","updated_at":"2020-11-04T12:54:43.000Z","dependencies_parsed_at":"2022-09-26T18:11:23.428Z","dependency_job_id":null,"html_url":"https://github.com/OnlyF0uR/Spiget-Deno","commit_stats":null,"previous_names":["jerskisnow/spiget-deno"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FSpiget-Deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FSpiget-Deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FSpiget-Deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FSpiget-Deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnlyF0uR","download_url":"https://codeload.github.com/OnlyF0uR/Spiget-Deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066462,"owners_count":20392450,"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":["deno","deno-module","denoland","spiget","spiget-api","spigotmc","wrapper"],"created_at":"2024-11-24T00:23:15.286Z","updated_at":"2025-12-11T21:16:09.314Z","avatar_url":"https://github.com/OnlyF0uR.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spiget-Deno\nSimple Spiget API wrapper for Deno\n\n### Example\n```ts\nimport { Spiget } from 'https://deno.land/x/spiget_deno@v1.0.0/mod.ts';\n\nconst example_user_id = 12345; // Change this\n\nconst spiget = new Spiget();\nconst author = await spiget.getAuthor(example_user_id);\n\nif (author == null) {\n    console.log('Couldn\\'t find an author with that id.');\n} else {\n    console.log(`Username: ${author.username}`);\n    // etc.\n\n    const resources = await author.getResources();\n    if (!resources.length) {\n        console.log('This user doesn\\'t have any resources.');\n    } else {\n        const resource = resources[0];\n\n        console.log(`Resource Name: ${resource.name}`);\n        console.log(`Tag: ${resource.tag}`);\n        console.log(`Likes: ${resource.likes}`);\n        console.log(`Downloads: ${resource.downloads}`);\n        // etc.\n\n        const reviews = await resource.getReviews();\n        if (!reviews.length) {\n            console.log('This resource doesn\\'t have any reviews.');\n        } else {\n            const review = reviews[0];\n\n            console.log(`Rating: ${resource.downloads}/5`);\n            console.log(`Date: ${review.date.toLocaleString()}`);\n            // etc.\n        }\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyf0ur%2Fspiget-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlyf0ur%2Fspiget-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyf0ur%2Fspiget-deno/lists"}