Rounds
Get Rounds
Get rounds
GET
/
rounds
Get Rounds
curl --request GET \
--url https://api-dev.monyfix.tech/rounds \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-dev.monyfix.tech/rounds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-dev.monyfix.tech/rounds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.monyfix.tech/rounds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.monyfix.tech/rounds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.monyfix.tech/rounds")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.monyfix.tech/rounds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rounds": [
{
"id": "<string>",
"uniq_id": "<string>",
"status": "<string>",
"entry_fee": "<string>",
"is_active": true,
"is_private": true,
"is_ended": true,
"is_event": true,
"owner": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>"
},
"members_count": 123,
"max_members_count": 123,
"variant": "<string>",
"item": {
"id": "<string>",
"name": "<string>",
"platform_price": 123,
"store": {
"id": 123,
"name": "<string>",
"is_blogger": true,
"seller_type": "<string>",
"logo_url": "<string>"
},
"format_price": "<string>",
"sku": "<string>",
"assets": [],
"duration": 123,
"meeting_link": "<string>",
"meeting_password": "<string>",
"meeting_platform": "<string>",
"event_type": "<string>",
"short_desc": "<string>",
"detail_desc": "<string>",
"participants_limit": 123,
"category": {
"id": 123,
"name": "<string>"
},
"location": {
"address": "<string>",
"latitude": "<string>",
"longitude": "<string>",
"country": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"attribute_values": []
},
"question": {
"category_theme": {
"name": "<string>",
"category": {
"name": "<string>"
},
"emoji": "<string>"
}
},
"certificate": {
"id": "<string>",
"text": "<string>",
"discount_percent": 123
},
"seconds_to_end": 123,
"format_entry_fee": "<string>",
"format_status": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"participant_statuses": [
{
"status": "<string>",
"user": {
"id": "<string>",
"phone": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>"
}
}
],
"in_favorites": false,
"locations": [
{
"city": {
"name": "<string>",
"subject": "<string>",
"lat": 123,
"lon": 123,
"country": {
"code": "<string>",
"name": "<string>",
"phone_code": "<string>",
"currency": "<string>"
},
"district": "<string>",
"timezone": "<string>"
},
"address": "<string>",
"lat": 123,
"lon": 123,
"postal_code": "<string>"
}
]
}
],
"active_filters": [
{}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
low, medium, high ⌘I
Get Rounds
curl --request GET \
--url https://api-dev.monyfix.tech/rounds \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-dev.monyfix.tech/rounds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-dev.monyfix.tech/rounds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.monyfix.tech/rounds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.monyfix.tech/rounds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.monyfix.tech/rounds")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.monyfix.tech/rounds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rounds": [
{
"id": "<string>",
"uniq_id": "<string>",
"status": "<string>",
"entry_fee": "<string>",
"is_active": true,
"is_private": true,
"is_ended": true,
"is_event": true,
"owner": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>"
},
"members_count": 123,
"max_members_count": 123,
"variant": "<string>",
"item": {
"id": "<string>",
"name": "<string>",
"platform_price": 123,
"store": {
"id": 123,
"name": "<string>",
"is_blogger": true,
"seller_type": "<string>",
"logo_url": "<string>"
},
"format_price": "<string>",
"sku": "<string>",
"assets": [],
"duration": 123,
"meeting_link": "<string>",
"meeting_password": "<string>",
"meeting_platform": "<string>",
"event_type": "<string>",
"short_desc": "<string>",
"detail_desc": "<string>",
"participants_limit": 123,
"category": {
"id": 123,
"name": "<string>"
},
"location": {
"address": "<string>",
"latitude": "<string>",
"longitude": "<string>",
"country": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"attribute_values": []
},
"question": {
"category_theme": {
"name": "<string>",
"category": {
"name": "<string>"
},
"emoji": "<string>"
}
},
"certificate": {
"id": "<string>",
"text": "<string>",
"discount_percent": 123
},
"seconds_to_end": 123,
"format_entry_fee": "<string>",
"format_status": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"participant_statuses": [
{
"status": "<string>",
"user": {
"id": "<string>",
"phone": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>"
}
}
],
"in_favorites": false,
"locations": [
{
"city": {
"name": "<string>",
"subject": "<string>",
"lat": 123,
"lon": 123,
"country": {
"code": "<string>",
"name": "<string>",
"phone_code": "<string>",
"currency": "<string>"
},
"district": "<string>",
"timezone": "<string>"
},
"address": "<string>",
"lat": 123,
"lon": 123,
"postal_code": "<string>"
}
]
}
],
"active_filters": [
{}
]
}