{"id":21650066,"url":"https://github.com/jwc20/twler-backend","last_synced_at":"2026-04-17T19:03:44.692Z","repository":{"id":38815689,"uuid":"492999798","full_name":"jwc20/twler-backend","owner":"jwc20","description":"REST API for fetching and parsing weightlifting results data.","archived":false,"fork":false,"pushed_at":"2022-08-30T17:34:17.000Z","size":498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-04T09:04:44.579Z","etag":null,"topics":["api","jwt","rails","ruby"],"latest_commit_sha":null,"homepage":"https://twler-app-api.herokuapp.com/years","language":"Ruby","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/jwc20.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}},"created_at":"2022-05-16T21:07:07.000Z","updated_at":"2022-08-30T17:33:49.000Z","dependencies_parsed_at":"2022-08-30T05:04:42.103Z","dependency_job_id":null,"html_url":"https://github.com/jwc20/twler-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jwc20/twler-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwc20%2Ftwler-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwc20%2Ftwler-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwc20%2Ftwler-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwc20%2Ftwler-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwc20","download_url":"https://codeload.github.com/jwc20/twler-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwc20%2Ftwler-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31941845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","jwt","rails","ruby"],"created_at":"2024-11-25T07:37:45.393Z","updated_at":"2026-04-17T19:03:44.671Z","avatar_url":"https://github.com/jwc20.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twler REST API Beta\n\nLive Demo: [Heroku API](https://twler-app-api.herokuapp.com/years)\n\nTwler (Top Weightlifter) is an app that will **_directly_** render data that is scraped with iwf_ruby\n(Not from a postgresql database!)\n\n## Endpoints Summary:\n\n- POST: [`/login`](#login)\n- GET: [`/login`](#token_authenticate)\n- GET: [`/auto_login`](#auto_login)\n- GET: [`/user_is_authed`](#user_is_authed)\n- GET: [`/years`](#years)\n- GET: [`/events/years/:year`](#events_by_year)\n  - GET: [`/events/years/:year/:name_of_event/men_results`](#men_results)\n  - GET: [`/events/years/:year/:name_of_event/women_results`](#women_results)\n\n## Example Usage:\n\n#### Example\n\n### GET: `/years`\n\n```json\n[\n  \"2022\",\n  \"2021\",\n\n  ...\n\n  \"2000\",\n  \"1999\",\n  \"1998\"\n]\n```\n\n### GET: `/events/years/:year`\n\nGet all events by year\n\n#### Example\n\nExample usage: `GET http://127.0.0.1:3000/events/years/2020`\n\nOutput (excerpt):\n\n```json\n[\n  {\n    \"name\": \"2020 ROGUE Weightlifting Challenge At the Arnold Sports Festival\",\n    \"location\": \"Columbus, USA\",\n    \"date\": \"Mar 05, 2020\",\n    \"event_url\": \"https://iwf.sport/results/results-by-events/?event_id=507\"\n  },\n  {\n    \"name\": \"39th Torneo Int. Manuel Suarez\\\" In Memoriam\",\n    \"location\": \"Havana, CUB\",\n    \"date\": \"Mar 03, 2020\",\n    \"event_url\": \"https://iwf.sport/results/results-by-events/?event_id=503\"\n  },\n\n  ...\n\n  {\n    \"name\": \"5th International Fajr Cup\",\n    \"location\": \"Rasht, IRI\",\n    \"date\": \"Feb 01, 2020\",\n    \"event_url\": \"https://iwf.sport/results/results-by-events/?event_id=499\"\n  },\n  {\n    \"name\": \"Roma 2020 World Cup\",\n    \"location\": \"Roma, ITA\",\n    \"date\": \"Jan 27, 2020\",\n    \"event_url\": \"https://iwf.sport/results/results-by-events/?event_id=496\"\n  }\n]\n```\n\n### GET: `/events/years/:year/:name_of_event/men_results` or `/women_results`\n\nGet all men or women results by name of the event\n\n#### Example\n\nExample usage: `GET http://127.0.0.1:3000/events/years/2013/xvii-bolivar-games/men_results`\n\nOutput (excerpt):\n\n```json\n[\n  {\n    \"name\": \"RADA RODRIGUEZ Sergio Armando\",\n    \"nation\": \"COL\",\n    \"birthdate\": \"Jan 27, 1984\",\n    \"athlete_url\": \"https://iwf.sport/weightlifting_/athletes-bios/?athlete=rada-rodriguez-sergio-armando-1984-01-27\u0026id=3060\",\n    \"category\": 56,\n    \"bweight\": \"55.83\",\n    \"group\": \"A\",\n    \"snatch\": 112,\n    \"jerk\": 140,\n    \"total\": 252,\n    \"rank\": 1\n  },\n\n  ...\n\n  {\n    \"name\": \"HERRERA CEPEDA Erik Elvis\",\n    \"nation\": \"ECU\",\n    \"birthdate\": \"Jul 28, 1994\",\n    \"athlete_url\": \"https://iwf.sport/weightlifting_/athletes-bios/?athlete=herrera-cepeda-erik-elvis-1994-07-28\u0026id=9911\",\n    \"category\": 56,\n    \"bweight\": \"61.74\",\n    \"group\": \"A\",\n    \"snatch\": 119,\n    \"jerk\": 150,\n    \"total\": 269,\n    \"rank\": 2\n  },\n\n  ...\n]\n```\n\n### Note:\n\nThis client is used alongside the frontend:\n\n```\nhttps://github.com/jwc20/twler-frontend-new\n```\n\nand the gem library:\n\n```\nhttps://github.com/jwc20/iwf_ruby\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwc20%2Ftwler-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwc20%2Ftwler-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwc20%2Ftwler-backend/lists"}