Comments (10)
Hi schmoomsm ,
Each dropdown option is a result with 1 or multiple logs. Thus you have total control over. For example you could make a results array with season 1, season 2 (in dropdown). And each season result can contain multiple logs (race 1, race 2 etc).
As you can see in the example on the API page:
https://simresults.net/example.json
https://simresults.net/remote?results=https://simresults.net/example.json
In your case you have multiple logs in 1 result array. If you wish to have multiple dropdowns containing just 1 race. Create multiple results array with 1 log only.
Not related but I see now that I should make the config also per result possible (optional). I will make this soon.
Hope it makes sense with the provided example.
Cheers,
Maurice
from simresults.
Thanks for the response! I think I understand.
from simresults.
Got it working!!! Thank you!
JSON: https://battlegoatracing.com/bgr/ACC.json and https://battlegoatracing.com/bgr/AC.json
Thanks again for this great tool!
from simresults.
Great! Though the dropdown active selection seems to be not working fully here when I browse your results page. I think it's a bug on my part. I will look into it Tuesday I think.
from simresults.
Thx!
My site is set-up to not cache json files per your direction and I have my links pointing to a static version number. When my jsons are recreated each day (game server and webserver sync results file once per day and generate a new json per game), will my links continue to show the newest content?
Link to ACC: https://simresults.net/remote?results=http://battlegoatracing.com/bgr/ACC.json&version=10
Link to AC: https://simresults.net/remote?results=http://battlegoatracing.com/bgr/AC.json&version=10
Thx.
from simresults.
Ye if you increment the version number, simresults should ignore it's own cache and always fetch your updated json.
from simresults.
what if my increment stays at 10? Will I always see dated results, or will it force a refetch each day? Using wordpress so making it increment that version number isn't simple (for me).
from simresults.
Cache is 24 hours. So it will eventually be refetching and up to date.
from simresults.
Cache is 24 hours. So it will eventually be refetching and up to date.
Excellent. Thx.
from simresults.
The dropdown selection issue is fixed :) Also added support for a config per results group.
I'm closing this issue now. If you have more questions don't hesitate to ask! You helped improve the tool 👍
from simresults.
Related Issues (20)
- installation HOT 3
- Automobilista 2 HOT 5
- About vehicle name of ACC result page HOT 1
- ACC: Fix duplicate decoding code
- user_id HOT 6
- ACC: import driver class (cupCategory) from results HOT 3
- No Sector Times for RaceRoom HOT 3
- RaceRoom including DNF lap in counter HOT 3
- Automobilista 2 results - sporadic return of steamid HOT 7
- ACC Lap 1 S1 issue when time is inaccurate HOT 12
- PC2 Final Race Position Issue HOT 1
- API config question HOT 5
- Allow ACC result json files to be read by the remote api HOT 2
- Disable cache in reader code
- Teams Column in AC HOT 2
- Add cup name to Vehicle::getFriendlyName
- Consistency per driver on races with swaps
- Report which reader generated the session object
- Move bug fixes in integration tests to bottom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simresults.