Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » ScratchPost - Scratch forums search, leaderboards, and statistics
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
yesI'm not sure exactly how to implement that / if it's even possible in the bar chart race program I'm using (flourish.studio)
- MonkeyBean2
-
Scratcher
500+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Username search seems to be case sensitive?
- MineTurte
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Oh my god it works. How did I make this mistake loooooooolIs the API down right now? I can't seem to access any of the data. Like for example I'm trying to send a GET request to https://api.scratch.mit.edu/users/MineTurte/followers/ using curl by doingYou added a trailing slash to the url. Try removing it.but it just says the page cannot be found and going onto the page directly in my browser says PAGE NOT FOUND in scratchpost?… Uhhhcurl -X 'GET" https://api.scratchpost.quuq.dev/users/MineTurte/count/
Edit: Good ol' school firewall. I can access the API via my cell data but not with the internet. Nevermind!
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Username search seems to be case sensitive?Yeah, right now my db selects things by author sometimes, which causes case sensitivity issues.
I'm going to try to see if I can make it case insensitive.
I was thinking of a user id system, but I'm not sure how to implement that.
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Okay, now everything to do with comparing usernames uses the citext type instead of the text type.Username search seems to be case sensitive?Yeah, right now my db selects things by author sometimes, which causes case sensitivity issues.
I'm going to try to see if I can make it case insensitive.
This means that usernames comparison is now case insensitive.
- acohen_bhusd
-
Scratcher
500+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
by finding the highest post id in each dateyesI'm not sure exactly how to implement that / if it's even possible in the bar chart race program I'm using (flourish.studio)
- cookedasparagus8
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Why does the count show dustbinned posts?
- medians
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Why does the count show dustbinned posts?They could have only been dustbinned after or sth
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Why does the count show dustbinned posts?It doesn't currently have a way to detect when posts are dustbinned. I'm adding a checker soon that goes back over recent posts, checks if they're dustbinned, and removes them if so.
- acohen_bhusd
-
Scratcher
500+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
i said that, bumpby finding the highest post id in each dateyesI'm not sure exactly how to implement that / if it's even possible in the bar chart race program I'm using (flourish.studio)
Last edited by acohen_bhusd (Yesterday 22:08:04)
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
by finding the highest post id in each dateI'm not really sure how I would do that, or how I would get my chart program to display it.
Also, why is it useful to know the current post id? Isn't the current date enough?
- redspacecat
-
Scratcher
1000+ posts
ScratchPost - Scratch forums search, leaderboards, and statistics
Okay, I've added a secondary thing that goes through posts, a few days behind, and removes them if they're dustbinned.Why does the count show dustbinned posts?It doesn't currently have a way to detect when posts are dustbinned. I'm adding a checker soon that goes back over recent posts, checks if they're dustbinned, and removes them if so.
I'll clean up the previously dustbinned posts later.
- Discussion Forums
- » Advanced Topics
-
» ScratchPost - Scratch forums search, leaderboards, and statistics