{"repo":"victor-lillo/octagon-api","free":true,"listed":false,"github":"https://github.com/victor-lillo/octagon-api","clone":"git clone https://github.com/victor-lillo/octagon-api.git","description":"MMA fighters data and API","language":"JavaScript","stars":29,"topics":["mma","astro","api","scraper","svelte","typescript"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Welcome to Octagon API 🥊 🚦 Lighthouse Score 📜 Description This is an open source project , created by a group of developers who love MMA. Our purpose is to provide a free and fast API from this popular sport. There were lots of APIs for everything you can imagine, except MMA. That's the reason we created Octagon API . Now, MMA fan developers can create their own projects with their favorite fighters information, bringing a breath of fresh air to the common API based projects. Also, we created a web page for displaying our database information. - Website URL: https://www.octagon-api.com/ - API URL: https://api.octagon-api.com/ 🗃 API endpoints Endpoint Response --------------------------- ----------------------------- GET /rankings Returns whole rankings info. GET /fighters Returns all fighters info. GET /fighter/:fighterId Returns single fighter info. GET /division/:divisionId Returns single division info. For more extensive documentation, go to the API documentation 🤖 Scripts Script Params Function :---------------: :-------------: -------------------------------------------------------------------------------------------------- api:dev Starts a local instance of the API service. api:publish Publishes the API. Requires wrangler installed and logged. scrape Updates the /db the complete scraper: rankings and then fighter by fighter. scrape:fighter --{fighterId} Updates /db/fighters.json with the provided fighter. Example: pnpm scrape:fighter --jon-jones . scrape:fighters U","default_branch":null,"files":null,"tree":[],"storefront":"/r/victor-lillo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/victor-lillo/octagon-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}