Para usar este endpoint, debes especificar.
page = indica un valor de página. Por ejemplo: 1.
unisex = indica si los baños a recibir son unisex. Por ejemplo (true o false) este parámetro es opcional.
Indica una latitud. Por ejemplo (45.4215).
Indica una longitud. Por ejemplo (-75.6972).
Baños por coordenadas. - Características del Endpoint
Objeto | Descripción |
---|---|
page |
[Requerido] Indicates a page value |
unisex |
Opcional Indicate if you wish to receive unisex bathrooms |
lat |
[Requerido] Indicates a latitude |
lng |
[Requerido] Indicates a longitude |
[{"id":3114,"name":"World Exchange Centre","street":"111 Albert Street","city":"Ottawa","state":"ON","accessible":true,"unisex":true,"directions":"first floor ","comment":null,"latitude":45.4207502,"longitude":-75.6954252,"created_at":"2014-02-02T20:53:32.889Z","updated_at":"2014-02-02T20:53:32.889Z","downvote":1,"upvote":1,"country":"CA","changing_table":false,"edit_id":3114,"approved":true,"distance":0.10045909050216603,"bearing":"112.902605927668"},{"id":22076,"name":"Ottawa Public Library Main Branch","street":"120 Metcalfe St.","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"In the basement","comment":"","latitude":45.42037029999999,"longitude":-75.6954949,"created_at":"2016-05-14T19:31:57.804Z","updated_at":"2016-05-14T19:31:57.804Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":22076,"approved":true,"distance":0.11371145579027934,"bearing":"123.526137080817"},{"id":34743,"name":"Starbucks ","street":"124 O'Connor","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"","comment":"","latitude":45.4193979,"longitude":-75.69745420000001,"created_at":"2017-05-02T13:58:59.689Z","updated_at":"2017-05-02T13:58:59.689Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":34743,"approved":true,"distance":0.1457633198526277,"bearing":"186.895109539063"},{"id":22936,"name":"Bridgehead Wellington","street":"1024 Wellington St","city":"Ottawa","state":"ON","accessible":true,"unisex":true,"directions":"","comment":"","latitude":45.4237451,"longitude":-75.6974208,"created_at":"2016-06-14T03:32:04.967Z","updated_at":"2016-06-14T03:32:04.967Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":22936,"approved":true,"distance":0.15549054215477126,"bearing":"354.383165256045"},{"id":4104,"name":"Bridgehead ","street":"109 Bank Street","city":"Ottawa","state":"ON","accessible":false,"unisex":true,"directions":null,"comment":null,"latitude":45.4199243,"longitude":-75.70019669999999,"created_at":"2014-02-02T20:55:09.560Z","updated_at":"2014-02-02T20:55:09.560Z","downvote":1,"upvote":0,"country":"CA","changing_table":false,"edit_id":4104,"approved":true,"distance":0.181585330955017,"bearing":"242.264080027176"},{"id":46021,"name":"NAC","street":"1 elgin street ","city":"Ottawa","state":"On","accessible":true,"unisex":false,"directions":"Downstairs near southam hall","comment":"","latitude":45.4231893,"longitude":-75.6939477,"created_at":"2018-11-23T00:24:24.684Z","updated_at":"2018-11-23T00:24:24.860Z","downvote":0,"upvote":0,"country":"CA","changing_table":true,"edit_id":46021,"approved":true,"distance":0.19621160223385692,"bearing":"62.551867011929"},{"id":51658,"name":"240 Sparks","street":"235 Queen St","city":"Ottawa","state":"Ontario ","accessible":true,"unisex":true,"directions":"Far end of the building, in the food court, lower level (C1)","comment":"240 Sparks and 235 Queen are the same building","latitude":45.4204168,"longitude":-75.7018016,"created_at":"2019-08-07T17:42:33.590Z","updated_at":"2019-08-07T17:42:33.717Z","downvote":0,"upvote":1,"country":"CA","changing_table":true,"edit_id":51658,"approved":true,"distance":0.2353752704486376,"bearing":"256.753928191745"},{"id":26101,"name":"Ottawa City Hall","street":"110 Laurier West","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"Downstairs outside of Service Ontario","comment":"","latitude":45.421458,"longitude":-75.691738,"created_at":"2016-11-08T18:51:23.089Z","updated_at":"2016-11-08T18:51:23.089Z","downvote":0,"upvote":1,"country":"CA","changing_table":false,"edit_id":26101,"approved":true,"distance":0.2648990942405799,"bearing":"90.440566678738"},{"id":585,"name":"Carleton University","street":"Carleton University Campus","city":"Ottawa","state":"ON","accessible":false,"unisex":true,"directions":"4th floor unicentre across from the GLBT centre.","comment":"3rd floor Loeb building in tower A ","latitude":45.42178,"longitude":-75.691184,"created_at":"2014-02-02T20:49:49.420Z","updated_at":"2014-02-02T20:49:49.420Z","downvote":1,"upvote":1,"country":"CA","changing_table":false,"edit_id":585,"approved":true,"distance":0.2923896786264606,"bearing":"87.335231153182"},{"id":24324,"name":"Venus Envy Ottawa","street":"226 Bank St.","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"Wheelchair accessible store (push activated door). Straight to back of the shop, last door on the right. Menstrual products under the sink.","comment":"This is an education-based sex shop that serves many communities, including trans, Two-Spirit, and gender diverse people. It is open to all ages.","latitude":45.4168931,"longitude":-75.6978506,"created_at":"2016-07-28T15:47:39.508Z","updated_at":"2016-07-28T15:47:39.508Z","downvote":0,"upvote":1,"country":"CA","changing_table":false,"edit_id":24324,"approved":true,"distance":0.3198660573320395,"bearing":"188.038321665264"}]
curl --location --request GET 'https://zylalabs.com/api/5607/canada+restrooms+api/7285/restrooms+by+coordinates?page=Required&lat=Required&lng=Required' --header 'Authorization: Bearer YOUR_API_KEY'
Encabezado | Descripción |
---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key . Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Para utilizar esta API, los usuarios deben indicar una página, el número de resultados a recibir, coordenadas o ubicaciones.
La API de Baños de Canadá proporciona información detallada sobre los baños públicos, incluyendo ubicación, accesibilidad, características y comentarios de usuarios, para mejorar la conveniencia del usuario.
Hay diferentes planes para satisfacer todos los gustos, incluyendo una prueba gratuita para un pequeño número de solicitudes, pero tu tarifa está limitada para evitar el abuso del servicio.
La API utiliza claves de API para la autenticación. Para acceder a la API, incluya su clave de API en el encabezado de la solicitud. La clave de API se proporciona al registrarse y debe mantenerse segura.
La API de baños de Canadá ayuda a integrar datos de baños basados en la ubicación en aplicaciones, mejorando la accesibilidad, la conveniencia y la experiencia del usuario para encontrar instalaciones cercanas.
Este punto final devuelve información detallada sobre los baños públicos, incluyendo su nombre, dirección, características de accesibilidad, estado unisex, coordenadas geográficas, calificaciones de los usuarios y distancia desde las coordenadas especificadas.
Los campos clave en la respuesta incluyen "id", "nombre", "calle", "ciudad", "estado", "accesible", "unisexo", "latitud", "longitud", "distancia" y métricas de retroalimentación del usuario como "voto positivo" y "voto negativo".
Los datos de respuesta están estructurados como un arreglo de objetos JSON, cada uno representando un baño. Cada objeto contiene campos para detalles de ubicación, características de accesibilidad y calificaciones de usuarios, lo que facilita su análisis y uso en aplicaciones.
Los usuarios pueden especificar parámetros como "página" para la paginación, "unisex" para filtrar resultados de baños unisex, y coordenadas geográficas (latitud y longitud) para definir el área de búsqueda.
Los usuarios pueden personalizar las solicitudes ajustando el parámetro "página" para la paginación y utilizando el parámetro "unisex" para filtrar resultados según el tipo de baño, lo que permite búsquedas personalizadas basadas en las necesidades del usuario.
Los datos provienen de contribuciones de usuarios, registros públicos y bases de datos verificadas, lo que garantiza una colección completa y actualizada de información sobre baños en Canadá.
La precisión de los datos se mantiene a través de actualizaciones regulares, mecanismos de retroalimentación de los usuarios y procesos de validación que aseguran que la información refleje las condiciones y características actuales de los baños.
Los casos de uso típicos incluyen la integración de datos sobre la ubicación de baños en aplicaciones de navegación, la mejora de servicios turísticos y la mejora de la accesibilidad para personas con discapacidad, asegurando que los usuarios puedan encontrar instalaciones adecuadas fácilmente.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1.000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.
The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3.600, it means 3.600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.520,84ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
11.294,92ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
12.143,83ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.034,72ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4.589,29ms
Nivel de Servicio:
99%
Tiempo de Respuesta:
2.010,67ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.376,27ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
227,63ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
147,06ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
916,91ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
776,16ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
943,35ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.065,68ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.459,47ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
863,02ms
Nivel de Servicio:
80%
Tiempo de Respuesta:
2.047,10ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
498,00ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
578,02ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
609,11ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
455,59ms