Inspiration

The National Basketball Association is one of the most famous and most recognizable basketball across North America. The league is composed of 30 teams and is one of the four major professional sports leagues in the United States and Canada .We wanted to get instantly all info about our favorite basketball player and teams so we made it.

What it does

It provides you with instant info about your favorite basketball players and team stats.

Queries

playerinfo -Returns the Information and Stats about the player

Alt text

team by year - Returns the name of teams founded in that year

Alt text

allteams-Fetches you the names of all teams

Alt text

team by name - Find the Team Info the the name

Alt text

team by state - Returns the Data about team by the name of the state

team by city - Returns the Data about team by the name of the state

How we built it

We made an python flask app using twilio-twinml to get data from webhook when users sends in the query and hosted on google cloud with the help of ngrok port forwarding. So when user sends an query it returns latest NBA data using NBA API using Twilio WhatsApp Sandbox

Challenges we ran into

It was bit difficult to sort out data and return it to user in a readable form using Twilio but we figured it out and finished the project on time.

Accomplishments that we're proud of

We made our project on time and Submitted it Successfully

What we learned

We learnt about how to fetch data from NBA API and return it to user using twilio

What's next for NBA Twilio

Going to add more features

Built With

Share this project:

Updates