RegisterLog in
Help & technical support

Development Help

6 year(s) ago • 2490 views • 58 replies

Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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 :)
Andrew Littlejohn
Andrew LittlejohnOP
Black beltVerified16 forum posts1980/1000
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.
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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?
Andrew Littlejohn
Andrew LittlejohnOP
Black beltVerified16 forum posts1980/1000
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.
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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?
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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?
Lars Söderström
Lars Söderström
Brown beltVerified71 forum posts2200/700
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.
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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 :)
Andrew Littlejohn
Andrew LittlejohnOP
Black beltVerified16 forum posts1980/1000
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!
Andrew Littlejohn
Andrew LittlejohnOP
Black beltVerified16 forum posts1980/1000
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!!
Craig Maceachern
Craig Maceachern
Blue beltVerified2 forum posts545/200
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;'
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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
Christian Graugart
Christian Graugart
Black belt 4th degreeVerified4323 forum posts39320/1000
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 :)
Dan Whettam
Dan Whettam
Blue beltVerified38 forum posts1100/200
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.
Dan Whettam
Dan Whettam
Blue beltVerified38 forum posts1100/200
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.

Post a reply

Add a quote
 
Changes saved
Success
An error occured
Required fields missing
This person is already on Beltchecker.