Nba Teams Info avatar

Nba Teams Info

Try for free

2 hours trial then $14.99/month - No credit card required now

Go to Store
Nba Teams Info

Nba Teams Info

pintostudio/nba-teams-info
Try for free

2 hours trial then $14.99/month - No credit card required now

This Actor Retrieves NBA Information on any team.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • No reviews yet

  • 4 bookmarks

  • >99% runs succeeded

  • Created in Jan 2024

  • Modified a year ago

Categories

You can access the Nba Teams Info programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "1.0",
5    "x-build-id": "fq29pSaSbpsFBmpYk"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/pintostudio~nba-teams-info/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-pintostudio-nba-teams-info",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/pintostudio~nba-teams-info/runs": {
50      "post": {
51        "operationId": "runs-sync-pintostudio-nba-teams-info",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/pintostudio~nba-teams-info/run-sync": {
93      "post": {
94        "operationId": "run-sync-pintostudio-nba-teams-info",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "id"
135        ],
136        "properties": {
137          "id": {
138            "title": "Teams Id",
139            "type": "integer",
140            "description": "Provide the teams Id",
141            "default": 401283399
142          }
143        }
144      },
145      "runsResponseSchema": {
146        "type": "object",
147        "properties": {
148          "data": {
149            "type": "object",
150            "properties": {
151              "id": {
152                "type": "string"
153              },
154              "actId": {
155                "type": "string"
156              },
157              "userId": {
158                "type": "string"
159              },
160              "startedAt": {
161                "type": "string",
162                "format": "date-time",
163                "example": "2025-01-08T00:00:00.000Z"
164              },
165              "finishedAt": {
166                "type": "string",
167                "format": "date-time",
168                "example": "2025-01-08T00:00:00.000Z"
169              },
170              "status": {
171                "type": "string",
172                "example": "READY"
173              },
174              "meta": {
175                "type": "object",
176                "properties": {
177                  "origin": {
178                    "type": "string",
179                    "example": "API"
180                  },
181                  "userAgent": {
182                    "type": "string"
183                  }
184                }
185              },
186              "stats": {
187                "type": "object",
188                "properties": {
189                  "inputBodyLen": {
190                    "type": "integer",
191                    "example": 2000
192                  },
193                  "rebootCount": {
194                    "type": "integer",
195                    "example": 0
196                  },
197                  "restartCount": {
198                    "type": "integer",
199                    "example": 0
200                  },
201                  "resurrectCount": {
202                    "type": "integer",
203                    "example": 0
204                  },
205                  "computeUnits": {
206                    "type": "integer",
207                    "example": 0
208                  }
209                }
210              },
211              "options": {
212                "type": "object",
213                "properties": {
214                  "build": {
215                    "type": "string",
216                    "example": "latest"
217                  },
218                  "timeoutSecs": {
219                    "type": "integer",
220                    "example": 300
221                  },
222                  "memoryMbytes": {
223                    "type": "integer",
224                    "example": 1024
225                  },
226                  "diskMbytes": {
227                    "type": "integer",
228                    "example": 2048
229                  }
230                }
231              },
232              "buildId": {
233                "type": "string"
234              },
235              "defaultKeyValueStoreId": {
236                "type": "string"
237              },
238              "defaultDatasetId": {
239                "type": "string"
240              },
241              "defaultRequestQueueId": {
242                "type": "string"
243              },
244              "buildNumber": {
245                "type": "string",
246                "example": "1.0.0"
247              },
248              "containerUrl": {
249                "type": "string"
250              },
251              "usage": {
252                "type": "object",
253                "properties": {
254                  "ACTOR_COMPUTE_UNITS": {
255                    "type": "integer",
256                    "example": 0
257                  },
258                  "DATASET_READS": {
259                    "type": "integer",
260                    "example": 0
261                  },
262                  "DATASET_WRITES": {
263                    "type": "integer",
264                    "example": 0
265                  },
266                  "KEY_VALUE_STORE_READS": {
267                    "type": "integer",
268                    "example": 0
269                  },
270                  "KEY_VALUE_STORE_WRITES": {
271                    "type": "integer",
272                    "example": 1
273                  },
274                  "KEY_VALUE_STORE_LISTS": {
275                    "type": "integer",
276                    "example": 0
277                  },
278                  "REQUEST_QUEUE_READS": {
279                    "type": "integer",
280                    "example": 0
281                  },
282                  "REQUEST_QUEUE_WRITES": {
283                    "type": "integer",
284                    "example": 0
285                  },
286                  "DATA_TRANSFER_INTERNAL_GBYTES": {
287                    "type": "integer",
288                    "example": 0
289                  },
290                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
291                    "type": "integer",
292                    "example": 0
293                  },
294                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
295                    "type": "integer",
296                    "example": 0
297                  },
298                  "PROXY_SERPS": {
299                    "type": "integer",
300                    "example": 0
301                  }
302                }
303              },
304              "usageTotalUsd": {
305                "type": "number",
306                "example": 0.00005
307              },
308              "usageUsd": {
309                "type": "object",
310                "properties": {
311                  "ACTOR_COMPUTE_UNITS": {
312                    "type": "integer",
313                    "example": 0
314                  },
315                  "DATASET_READS": {
316                    "type": "integer",
317                    "example": 0
318                  },
319                  "DATASET_WRITES": {
320                    "type": "integer",
321                    "example": 0
322                  },
323                  "KEY_VALUE_STORE_READS": {
324                    "type": "integer",
325                    "example": 0
326                  },
327                  "KEY_VALUE_STORE_WRITES": {
328                    "type": "number",
329                    "example": 0.00005
330                  },
331                  "KEY_VALUE_STORE_LISTS": {
332                    "type": "integer",
333                    "example": 0
334                  },
335                  "REQUEST_QUEUE_READS": {
336                    "type": "integer",
337                    "example": 0
338                  },
339                  "REQUEST_QUEUE_WRITES": {
340                    "type": "integer",
341                    "example": 0
342                  },
343                  "DATA_TRANSFER_INTERNAL_GBYTES": {
344                    "type": "integer",
345                    "example": 0
346                  },
347                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
348                    "type": "integer",
349                    "example": 0
350                  },
351                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
352                    "type": "integer",
353                    "example": 0
354                  },
355                  "PROXY_SERPS": {
356                    "type": "integer",
357                    "example": 0
358                  }
359                }
360              }
361            }
362          }
363        }
364      }
365    }
366  }
367}

Nba Teams Info OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Nba Teams Info from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients: