Looking for a free decent nba api, Node Hosting

Looking for a free NBA api. I found one but the option to select the one team section is not working. To much work to do to get the information I am currently looking for if I can even get one. I also use iPage and Bluehost, funny because bluehost is the parent company to iPage lol, and neither of them provide a free way to host NPM packages. So is there a similar hosting site to host my sites where I can use Node and NPM so I have a reason to learn REACT or VUE again. I don' t want to have to use AWS or Azure or anything like that. So if I can I would like to use the database it allows me to make and wonder if there is a work around that?
7 Replies
althepal78
althepal78OP4w ago
let knicks = results.sports[0].leagues[0].teams[19].team what I have to write to get a specific team I don' t know if there is an easier way LOL
clevermissfox
clevermissfox4w ago
With an api that large (I imagine there’s a ton of data) that object to get to a team looks normal to me. You can use Vercel, Netlify, or cloudflare pages for free host that supports npm packages. Deploy straight from your GH repo
althepal78
althepal78OP4w ago
I don't know how to deploy like that. I was hoping I can do it from a hosting site because I don't like using github to do that but maybe I can figure it out. I tried one time shit was so confusing I took 2 months off lol but thanks @clevermissfox which one do you prefer also trying to get rid of that news from the endpoint I have because it only haves six articles I want all articles relating to the knicks for news don't care about the others for my site lol bad or good lol if I use vercel or the others, is it going to hide my token if I need one for an api going forward?
clevermissfox
clevermissfox4w ago
There is a place to set environment variables yes. Deploying from GitHub repo is literally clicking a couple buttons and it redeploys every time you push changes to the branch that’s deployed which is super nice If you wanted to I’m sure you can upload your files directly , I’ve never tried that way . I prefer Cloudflare personally but all three are very simple to use
althepal78
althepal78OP4w ago
Why cloudflare, I am asking for me the noob
clevermissfox
clevermissfox4w ago
Personal preference of the ui and integration of other Cloudflare tools I use
althepal78
althepal78OP3w ago
Oh okay thanks a lot I found a link to the actual team maybe I can get just news from that link too 🙂 yeah I am trying to get -news but I see I might have to freaking use some type of hidden thing like in the background thinking about going to php I guess that is what I am going to have to do
Want results from more Discord servers?
Add your server