Skip to content

A project that collects champion data from League of Legends through web scraping, stores it in a Go API, and displays the data in a Flutter app.

Notifications You must be signed in to change notification settings

joasnog/webscraping-lol-go-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

webscraping-lol-go-flutter

screenshot

About

This project consists of a Go API that uses web scraping to retrieve all champions of the game League of Legends from the site mobalitycs and a Flutter application that makes a request to this API to retrieve this data and display it to the user.

The API is built using the "goquery" web scraping library and returns champion data in JSON format.

The Flutter application makes use of the "http" library to make a request to the API and displays the champion data in a list on the app's home screen.

How to run

- Clone this repository:
$ git clone https://github.com/joasnog/lol-champions-app

- Enter in directory:
$ cd lol_champions_app\api

- Run the server
$ go run main.go

- Change the IP_ADDRESS environment variable located in flutter/.env to your localhost ip.
IP_ADDRESS = YOUR_IP_ADDRESS

- Enter in directory:
$ cd flutter

- Install dependencies
$ flutter pub get

- Run the app: 
$ flutter run

About

A project that collects champion data from League of Legends through web scraping, stores it in a Go API, and displays the data in a Flutter app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published