Spaces:
Sleeping
Sleeping
definitions: | |
crypto.ApiResponse: | |
properties: | |
data: {} | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
crypto.PredictionRequest: | |
properties: | |
currency: | |
maxLength: 16 | |
minLength: 4 | |
type: string | |
days: | |
maximum: 31 | |
minimum: 1 | |
type: integer | |
required: | |
- currency | |
type: object | |
crypto.PredictionResponse: | |
properties: | |
data: | |
properties: | |
currency: | |
type: string | |
predictions: | |
properties: | |
actuals: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
predictions: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
type: object | |
type: object | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
national_currency.ApiResponse: | |
properties: | |
data: {} | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
national_currency.PredictionRequest: | |
properties: | |
currency: | |
maxLength: 16 | |
minLength: 4 | |
type: string | |
days: | |
maximum: 31 | |
minimum: 1 | |
type: integer | |
required: | |
- currency | |
type: object | |
national_currency.PredictionResponse: | |
properties: | |
data: | |
properties: | |
currency: | |
type: string | |
predictions: | |
properties: | |
actuals: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
predictions: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
type: object | |
type: object | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
stock.ApiResponse: | |
properties: | |
data: {} | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
stock.PredictionRequest: | |
properties: | |
currency: | |
maxLength: 16 | |
minLength: 4 | |
type: string | |
days: | |
maximum: 31 | |
minimum: 1 | |
type: integer | |
required: | |
- currency | |
type: object | |
stock.PredictionResponse: | |
properties: | |
data: | |
properties: | |
currency: | |
type: string | |
predictions: | |
properties: | |
actuals: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
predictions: | |
items: | |
properties: | |
date: | |
type: string | |
price: | |
type: number | |
type: object | |
type: array | |
type: object | |
type: object | |
message: | |
type: string | |
status_code: | |
type: integer | |
type: object | |
host: qywok-tebakaja-proxy-space-3.hf.space | |
info: | |
contact: | |
email: [email protected] | |
name: Si Mimin | |
url: https://www.tebakaja.com | |
description: TebakAja REST API Service | |
license: | |
name: Apache 2.0 | |
url: http://www.apache.org/licenses/LICENSE-2.0.html | |
termsOfService: https://swagger.io/terms/ | |
title: TebakAja | |
version: "1.0" | |
paths: | |
/crypto/lists: | |
get: | |
description: Cryptocurrency List | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/crypto.ApiResponse' | |
summary: Cryptocurrency List | |
tags: | |
- Cryptocurrency | |
/crypto/prediction: | |
post: | |
consumes: | |
- application/json | |
description: Cryptocurrency Prediction | |
parameters: | |
- description: Request Body | |
in: body | |
name: requestBody | |
required: true | |
schema: | |
$ref: '#/definitions/crypto.PredictionRequest' | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/crypto.PredictionResponse' | |
summary: Cryptocurrency Prediction | |
tags: | |
- Cryptocurrency | |
/national-currency/lists: | |
get: | |
description: National Currency List | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/national_currency.ApiResponse' | |
summary: National Currency List | |
tags: | |
- National Currency | |
/national-currency/prediction: | |
post: | |
consumes: | |
- application/json | |
description: National Currency Prediction | |
parameters: | |
- description: Request Body | |
in: body | |
name: requestBody | |
required: true | |
schema: | |
$ref: '#/definitions/national_currency.PredictionRequest' | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/national_currency.PredictionResponse' | |
summary: National Currency Prediction | |
tags: | |
- National Currency | |
/stock/lists: | |
get: | |
description: Stock List | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/stock.ApiResponse' | |
summary: Stock List | |
tags: | |
- Stock | |
/stock/prediction: | |
post: | |
consumes: | |
- application/json | |
description: Stock Prediction | |
parameters: | |
- description: Request Body | |
in: body | |
name: requestBody | |
required: true | |
schema: | |
$ref: '#/definitions/stock.PredictionRequest' | |
produces: | |
- application/json | |
responses: | |
"200": | |
description: OK | |
schema: | |
$ref: '#/definitions/stock.PredictionResponse' | |
summary: Stock Prediction | |
tags: | |
- Stock | |
swagger: "2.0" | |