{"id":13718458,"url":"https://github.com/Jay9596/goRant","last_synced_at":"2025-05-07T10:32:12.522Z","repository":{"id":57551081,"uuid":"94554459","full_name":"Jay9596/goRant","owner":"Jay9596","description":"An unofficial Go API wrapper https://www.devrant.io","archived":false,"fork":false,"pushed_at":"2017-08-26T16:46:07.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T01:11:23.708Z","etag":null,"topics":["api-wrapper","devrant","go","golang","unofficial"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Jay9596.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":"2017-06-16T14:57:33.000Z","updated_at":"2018-06-13T14:15:52.000Z","dependencies_parsed_at":"2022-09-26T18:41:19.468Z","dependency_job_id":null,"html_url":"https://github.com/Jay9596/goRant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay9596%2FgoRant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay9596%2FgoRant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay9596%2FgoRant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay9596%2FgoRant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jay9596","download_url":"https://codeload.github.com/Jay9596/goRant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224585558,"owners_count":17335876,"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-wrapper","devrant","go","golang","unofficial"],"created_at":"2024-08-03T01:00:28.236Z","updated_at":"2024-11-14T07:31:19.081Z","avatar_url":"https://github.com/Jay9596.png","language":"Go","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# goRant\nAn unofficial Go client for public devRant API\n\nhttps://www.devrant.io/  \n\n[![Go Report Card](https://goreportcard.com/badge/github.com/jay9596/goRant)](https://goreportcard.com/report/github.com/jay9596/goRant)\n\n## Table of Content\n1. [Installation](#Installation)\n2. [Documentation](#Documentation)\n3. [Getting Started](#Getting-Started)\n4. [Todo](#Todo)\n\n\n## Installation:\n ``` go get github.com/jay9596/goRant ```\n \n## Documentation\n  ``` go doc github.com/jay9596/goRant ```  \n  Or visit:\n  [GoDoc](https://godoc.org/github.com/Jay9596/goRant)\n\n## Getting Started\n* ### goRant Functions\n    #### Assign a New client  \n      devRant := goRant.New()\n     #### Rants : Fetch rants\n     ``` rants,err := devRant.Rants() ```\n     #### Rant : Fetch a single rant\n     ``` rant,comments,err := devRant.GetRant(rantID) ```\n     #### Profile : Fetch a user profile\n     ``` user,err := devRant.Profile(\"byte\") ```\n     #### Search : Search on devrant\n     ``` rants,err := devRant.Search(\"vscode\") ```\n     #### Surprise : Fetch a random rant\n     ``` rant,comments,err := devRant.Surprise() ```\n     #### WeeklyRant : Fetch weekly rants\n     ``` rants,err := devRant.WeeklyRant() ```\n     #### Collabs : Fetch collabs \n     ``` rants,err := devRant.Collabs() ```\n     #### Stories : Fetch stories\n     ``` rants,err := devRant.Stories() ```\n* ### goRant Types\n     All _rant_ specified above represent a **Rant** struct  \n     The _rants_ represent an array of Rant  **[ ]Rant**  \n     The _user_ represent **User** struct  \n     The _comments_ represent an array of Comment **[ ]Comment**  \n \n ## Todo\n - [x] Add supporter ++ support   \n - [ ] Add Tests  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJay9596%2FgoRant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJay9596%2FgoRant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJay9596%2FgoRant/lists"}