Welcome to support forum
Feel free to post any questions you have about using the site, verification, technical support, bugs, suggestions, etc. We are here to help! :)
Development Help
6 year(s) ago • 2491 views • 58 replies
Black belt 4th degreeVerified
6 year(s) ago
A well-placed index or two can certainly make a night/day difference in performance. :) Glad you guys found a performance bottleneck.
yeah that was a huge improvement, very nice :)
Black belt 1st degreeVerified
6 year(s) ago
Here's some react magic: https://jsfiddle.net/free[...]adwg73o/3/
Black belt 4th degreeVerified
6 year(s) ago
Here's some react magic: https://jsfiddle.net/free[...]adwg73o/3/
Cool :)
Any other suggestions as to what I should open up with the API would be appreciated, happy to hear some ideas :)
Any other suggestions as to what I should open up with the API would be appreciated, happy to hear some ideas :)
Black beltVerified
6 year(s) ago
Does the reCaptcha need to be disabled on the API, I've tried hitting it with Postman and not been able to. Continually getting a 403.
Black belt 4th degreeVerified
6 year(s) ago
Does the reCaptcha need to be disabled on the API, I've tried hitting it with Postman and not been able to. Continually getting a 403.
Hm the stack path firewall is blocking it?
Black beltVerified
6 year(s) ago
Hm the stack path firewall is blocking it?
Yeah I've tried Python's request and Postman. Python gives a straight 403. Postman gets a response, but its a request to enable Javascript.

Black belt 4th degreeVerified
6 year(s) ago
Can you copy that reference ID for me please?
Black belt 4th degreeVerified
6 year(s) ago
I also now see I had to configure API in Stackpath, just did that. Let me know if things work now :)
Black beltVerified
6 year(s) ago
I found a workaround by using Interceptor to get the cookies, but still getting a 403 when using Python (Requests)
Black belt 4th degreeVerified
6 year(s) ago
I found a workaround by using Interceptor to get the cookies, but still getting a 403 when using Python (Requests)
That’s weird, can you please paste the reference ID that you’re getting, here?
Black belt 4th degreeVerified
6 year(s) ago
What other data would be interesting for developers to have access to via the api? Search on other user fields? Or maybe the statistics module?
Brown beltVerified
6 year(s) ago
What other data would be interesting for developers to have access to via the api? Search on other user fields? Or maybe the statistics module?
Why not achievements like badge of excellence and X years of training or medals etc.
Black belt 4th degreeVerified
6 year(s) ago
Why not achievements like badge of excellence and X years of training or medals etc.
Yes absolutely. I'll try to add as much data to the user extract as possible later tonight :)
Black beltVerified
6 year(s) ago
That’s weird, can you please paste the reference ID that you’re getting, here?
Postman is working as intended now due to your updates! Thank you!
Black belt 4th degreeVerified
Black belt 4th degreeVerified
6 year(s) ago
I just added some more fields (smooth comp id, moderators' badge and medals count):
https://www.beltchecker.com/api/
https://www.beltchecker.com/api/
Black beltVerified
6 year(s) ago
Lookin good!
{
"id": "9590",
"firstname": "Andrew",
"lastname": "Littlejohn",
"nickname": "",
"image": "https://www.beltchecker.c[...]b2d468.jpg",
"academy": "Tick Tock Jiu Jitsu",
"affiliation": "GD Jiu-Jitsu Association",
"city": "",
"country": "",
"beltrank": "7",
"coloredbeltstripes": "0",
"beltname": "Purple belt",
"fullbeltname": "Purple belt 0 stripes",
"votes": "220",
"votesrequired": 400,
"idverified": "1",
"promotionhistoryfilledout": "1",
"votesacquired": "0",
"verified": "0",
"smoothcompid": "125792",
"moderatorbadge": "0",
"medalstotal": 3,
"medalsgold": "2",
"medalssilver": "1",
"medalsbronze": "0"
}
Awesome work Stuart Freeman and Christian Graugart!!
{
"id": "9590",
"firstname": "Andrew",
"lastname": "Littlejohn",
"nickname": "",
"image": "https://www.beltchecker.c[...]b2d468.jpg",
"academy": "Tick Tock Jiu Jitsu",
"affiliation": "GD Jiu-Jitsu Association",
"city": "",
"country": "",
"beltrank": "7",
"coloredbeltstripes": "0",
"beltname": "Purple belt",
"fullbeltname": "Purple belt 0 stripes",
"votes": "220",
"votesrequired": 400,
"idverified": "1",
"promotionhistoryfilledout": "1",
"votesacquired": "0",
"verified": "0",
"smoothcompid": "125792",
"moderatorbadge": "0",
"medalstotal": 3,
"medalsgold": "2",
"medalssilver": "1",
"medalsbronze": "0"
}
Awesome work Stuart Freeman and Christian Graugart!!
Blue beltVerified
6 year(s) ago
A little breathing room on the text blocks would go a long way for a quick win: "line-height: 1.8" looks nice to me on the .w3-container class. I would bump up the font from 12px as well, kind of hard to read on desktop. You could do that with CSS rem units and @media queries to adjust font size dynamically based on screen-width, but for bare minimum try .w3-container class override of 'font-size: 1rem;'
Black belt 4th degreeVerified
6 year(s) ago
A little breathing room on the text blocks would go a long way for a quick win: 'line-height: 1.8' looks nice to me on the .w3-container class. I would bump up the font from 12px as well, kind of hard to read on desktop. You could do that with CSS rem units and @media queries to adjust font size dynamically based on screen-width, but for bare minimum try .w3-container class override of 'font-size: 1rem;'
Font is already 12 px but I'll experiment a bit with the line height :)
Edited 6 year(s) ago
Black belt 4th degreeVerified
6 year(s) ago
Added competition matches and medals to the API today: https://www.beltchecker.com/api/
Black belt 4th degreeVerified
6 year(s) ago
Added promotion history endpoint to the API if anyone feels like building a lineage tool or something :)
https://www.beltchecker.com/api/
https://www.beltchecker.com/api/

Brown beltVerified
6 year(s) ago
Nice to see the side evolving and the api growing, great work Christian!
Black belt 4th degreeVerified
6 year(s) ago
Nice to see the side evolving and the api growing, great work Christian!
Thanks, appreciate the help and support in this group, I'm learning a lot :)
Blue beltVerified
4 year(s) ago
What other data would be interesting for developers to have access to via the api? Search on other user fields? Or maybe the statistics module?
I've just come across this thread and I realise it's not been posted on in a year, but I'm thinking it would be really nice to upload new training sessions via the API. That way I can automatically log training sessions on here without typing them out multiple times across different platforms.
Black belt 2nd degreeVerified
4 year(s) ago
API with what? Some training diary app?
Blue beltVerified
4 year(s) ago
I use Notion to log all sorts of things, including my training, which also has an API. But more generally, say I have years of training all logged in Excel. Would be great if I could write a little script to integrate that with beltchecker without manually copying everything across.
Black belt 3rd degreeVerified
4 year(s) ago
NERD ALERT!!!1111!!!1


