Skip to content

Latest commit

 

History

History
78 lines (46 loc) · 2.72 KB

PredictionsApi.md

File metadata and controls

78 lines (46 loc) · 2.72 KB

\PredictionsApi

All URIs are relative to https://www.metaculus.com

Method HTTP request Description
predictions_list GET /api2/predictions/
predictions_retrieve GET /api2/predictions/{id}/

predictions_list

crate::models::PaginatedPredictionUsernameList predictions_list(last_prediction_time__gt, last_prediction_time__lt, limit, offset, order_by, points_won, points_won__gt, points_won__gte, points_won__lt, points_won__lte, question, user, username)

Parameters

Name Type Description Required Notes
last_prediction_time__gt Option<String>
last_prediction_time__lt Option<String>
limit Option<i32> Number of results to return per page.
offset Option<i32> The initial index from which to return the results.
order_by Option<String> Which field to use when ordering the results.
points_won Option<f32>
points_won__gt Option<f32>
points_won__gte Option<f32>
points_won__lt Option<f32>
points_won__lte Option<f32>
question Option<i32>
user Option<i32>
username Option<String>

Return type

crate::models::PaginatedPredictionUsernameList

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

predictions_retrieve

crate::models::PredictionUsername predictions_retrieve(id)

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this combo prediction. [required]

Return type

crate::models::PredictionUsername

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]