This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "c922075b-1573-4bf3-8108-3d758e2c3d3b", | |
| "name": "WIB API for lockers", | |
| "description": "API available for WIB Machinery\n\nContact Support:\n Email: contact@snippets.local", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
| "_exporter_id": "95335", | |
| "_collection_link": "https://bounce-lockers.postman.co/workspace/Bounce-Lockers~3c37237d-589d-44bd-89d7-da4e6ece9e97/collection/95335-c922075b-1573-4bf3-8108-3d758e2c3d3b?action=share&source=collection_link&creator=95335" | |
| }, | |
| "item": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.1 | |
| info: | |
| title: "Bounce API" | |
| description: "API documentation for Bounce locker events integration." | |
| version: "1.0.0" | |
| servers: | |
| - url: "https://bounce-api-preview-deploy-test.onrender.com" | |
| description: "Bounce API preview environment" | |
| - url: "https://luggage-storage-api.usebounce.com" | |
| description: "Bounce API production environment" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os, json, re, pathlib, requests | |
| from urllib.parse import urljoin | |
| METABASE_HOST = os.environ.get("METABASE_HOST", "https://bounce.metabaseapp.com/") | |
| API_KEY = os.environ.get("METABASE_API_KEY") | |
| TARGET_COLL_NAME= os.environ.get("METABASE_COLLECTION_NAME") | |
| TARGET_COLL_ID = os.environ.get("METABASE_COLLECTION_ID") | |
| OUTPUT_DIR = os.environ.get("OUTPUT_DIR", "./metabase_export") | |
| session = requests.Session() |
OlderNewer