Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
f1uk3r u/f1uk3r avatar

f1uk3r

u/f1uk3r

New
Open sort options
Change post view


r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

[Meta] PGT Boxscore Generator is fixed (kinda).

f1uk3r
replied to SnuggleMuffin42

It depends what you are trying to build. If it is something like daily stats for which an API is available, I'd go with API. If you want historical data like BBallref provides, and there are no API's available, you have to scrape the website.

API's are easier to consume, scraper you have to do some extra work. Both are pretty easy to achieve if you know what you want to do. But ultimately it depends on the thing you want to build and what is available. Basically if nba restricts their API's for internal use only, all you can do is scrape the data off their website.



r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

[Meta] PGT Boxscore Generator is fixed (kinda).

f1uk3r
replied to Jakanzi

Web scraping, imo, should be considered at last. even a small change in the DOM structure can cause errors. On the other hand with API's are more reliable that ways.

Other API's were considered as well but there are not as many options we can choose from. The one I'm using right now is probably a little better than the other I looked at.



[Meta] PGT Boxscore Generator is fixed (kinda).
r/nba icon
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online
[Meta] PGT Boxscore Generator is fixed (kinda).

Just a quick update on embeded boxscore situation that we have been facing since starting of the pre-season. The main API that we used for all our bots be it game thread, sidebar, NDT, Index thread or even boxscore generator, is pretty useless now. They stopped updating that API completely.

We are shifting to a new API, and started patching boxscore generator first. There are lots of things still to figure out regarding this new API so it may take some time to restore all the bots completely. Boxscore generator, eventhough fixed, still has lots of things that we can improve. Like the minutes column is little buggy. If a game havent started, page for that game won't open. These things we will try to fix soon. But for now it is atleast in usable state (I think).

We will not start enforcing embeded boxscore in PGT just yet, we hope the words get around quickly and users start using embeded boxscores. Probably next week we may post official announcement after which we may start enforcing embeded boxscore in PGT.

Till then Happy Diwali.

https://f1uk3r.github.io/rnbapgtgenerator/


r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

Daily Discussion Thread + Game Thread Index

f1uk3r
replied to TS_cartographer

Because the API we were using for game threads, sidebars, topbars and pgt generator have stopped updating. So users were not able to post embedded stats. Driving traffic to ESPN would be the last reason to do that lol.


r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

Daily Discussion Thread + Game Thread Index

f1uk3r
commented

So, I made a patch to PGT generator and it is working for now. The minutes column is still a little fucked, but I will fix it soon. Hope it keeps on working for atleast this season. Also if a game not started, that page won't load on the pgt generator website, I need to add a error catch thingy, will do that soon as well

https://f1uk3r.github.io/rnbapgtgenerator/


r/webdev icon
A banner for the subreddit

A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.


Members Online
r/webdev
A banner for the subreddit

A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.


Members Online

I just realized the huge job difference in developed countries

f1uk3r
replied to bgdam

Do you even realise how many iit/iim graduates we push out every year? Saying pretty much everyone of them have their own startup is like exaggeration to the highest degree. And no, most of them are not well funded.








r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

[Mod Post] Seeking Bot Mods - Python Experience Required

f1uk3r
replied to armpit_puppet

It is not. It used to be the project few years ago but we moved to a private repo since then. You can use these bots scripts however you want, but they aren’t actively managed by us right now.

As for our current project, we had some discussions about making it open-source, but can’t promise when we will be able to actually make it open source.


r/nba icon
A banner for the subreddit

A community for NBA discussion.


Members Online
r/nba
A banner for the subreddit

A community for NBA discussion.


Members Online

[Mod Post] Seeking Bot Mods - Python Experience Required

f1uk3r
commented

I mean, you’ll have to find project for yourself. Like the tool for generating PGT. We also created one for handling flairs, one website for over under stuff.

You can work on multiple initiatives, but the reason for this bot only application was we really need bot only mods who can look after existing bots and write some new features. We will post mod applications for regular mods in future though if you want to apply there.







PGT klsjdfjlsdfklosdfjl
r/test


Members Online
PGT klsjdfjlsdfklosdfjl

PHX 109 - 101 DAL

Box Score Location Clock Officials
NBA/Yahoo American Airlines Center (19584) Marc Davis, Ed Malloy and Justin Van Duyne

GAME SUMMARY

Team Q1 Q2 Q3 Q4 Total
Phoenix Suns 22 23 29 35 109
Dallas Mavericks 26 27 29 19 101

TEAM STATS

Team PTS FG FG% 3P 3P% FT FT% OREB TREB AST PF STL TO BLK
Phoenix Suns 109 39-86 45.3% 8-36 22.2% 23-25 92.0% 5 40 25 21 13 7 1
Dallas Mavericks 101 37-85 43.5% 11-37 29.7% 16-20 80.0% 10 50 19 22 1 19 3

PLAYER STATS

Phoenix Suns MIN PTS FGM-A 3PM-A FTM-A ORB DRB REB AST STL BLK TO PF +/-
Mikal BridgesSF 37:11 12 5-11 0-4 2-2 2 6 8 6 4 0 0 1 +19
Jae CrowderPF 32:39 13 4-9 3-6 2-2 0 3 3 0 2 0 1 3 +11
JaVale McGeeC 17:49 8 3-5 0-0 2-2 1 3 4 0 0 0 2 3 -1
Devin BookerSG 38:18 28 11-25 1-8 5-5 0 5 5 6 0 0 2 2 +5
Chris PaulPG 36:41 20 8-14 2-6 2-2 0 5 5 11 2 1 0 3 +24
Bismack Biyombo 27:53 9 2-3 0-0 5-7 2 2 4 1 2 0 2 3 +13
Cameron Payne 18:56 12 4-10 1-4 3-3 0 3 3 0 1 0 0 1 -7
Cameron Johnson 20:28 7 2-7 1-6 2-2 0 7 7 1 1 0 0 2 -14
Landry Shamet 10:04 0 0-2 0-2 0-0 0 1 1 0 1 0 0 3 -10
Deandre Ayton - - -
Elfrid Payton 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Jalen Smith 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Ish Wainright 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Dallas Mavericks MIN PTS FGM-A 3PM-A FTM-A ORB DRB REB AST STL BLK TO PF +/-
Dorian Finney-SmithSF 31:59 5 2-6 1-5 0-0 1 5 6 2 0 0 1 4 -10
Maxi KleberPF 27:08 9 3-9 1-7 2-2 1 4 5 4 0 1 2 2 -10
Kristaps PorzingisC 32:17 18 7-15 2-4 2-2 2 9 11 1 0 2 1 5 -2
Jalen BrunsonSG 34:45 19 8-13 1-2 2-2 2 3 5 1 0 0 6 3 -16
Luka DoncicPG 38:07 28 9-23 2-9 8-11 1 7 8 8 1 0 8 1 -7
Dwight Powell 14:20 6 2-3 0-0 2-3 2 1 3 0 0 0 1 1 -2
Tim Hardaway Jr. 28:17 11 4-10 3-7 0-0 0 5 5 1 0 0 0 3 -6
Reggie Bullock 20:11 3 1-3 1-3 0-0 1 5 6 1 0 0 0 1 +3
Josh Green 11:11 2 1-3 0-0 0-0 0 1 1 1 0 0 0 1 +6
Frank Ntilikina 1:42 0 0-0 0-0 0-0 0 0 0 0 0 0 0 1 +4
Moses Brown 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Trey Burke 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Marquese Chriss 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Boban Marjanovic 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0
Theo Pinson 0:00 0 0-0 0-0 0-0 0 0 0 0 0 0 0 0 0

rnbapgtgenerator by u/f1uk3r



r/ActualPublicFreakouts icon
A banner for the subreddit

A place to see people freaking out, going wild, and losing their cool in a public context. The freakout is king here. I can't define a freakout, but I know it when I see one.


Members Online
r/ActualPublicFreakouts
A banner for the subreddit

A place to see people freaking out, going wild, and losing their cool in a public context. The freakout is king here. I can't define a freakout, but I know it when I see one.


Members Online

Neighbours fight over Christian cross on gate, ends up with the aggressor knocked out... wife has husbands back on the phone, ride or die.

f1uk3r
replied to Wakenbacon05

Red T swung at 0:02. Then at 0:45 he smeared that black color on the other guy face which you can consider as an assault, I think. So yeah, I'd call cops if I was black T-shirt guy


f1uk3r u/f1uk3r avatar