Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
weatherapicom authored Nov 8, 2023
1 parent 6701eb6 commit 1fed015
Show file tree
Hide file tree
Showing 56 changed files with 3,129 additions and 2,534 deletions.
44 changes: 12 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,13 @@
# Go API client for WeatherAPI.com
# Go API client for swagger

# Introduction
WeatherAPI.com provides access to weather and geo data via a JSON/XML restful API. It allows developers to create desktop, web and mobile applications using this data very easy.

We provide following data through our API:
- Real-time weather
- 14 day weather forecast
- Astronomy
- Time zone
- Location data
- Search or Autocomplete API
- NEW: Historical weather
- NEW: Future Weather (Upto 300 days ahead)
- Weather Alerts
- Air Quality Data

# Getting Started
You need to [signup](https://www.weatherapi.com/signup.aspx) and then you can find your API key under [your account](https://www.weatherapi.com/login.aspx), and start using API right away!

We have [code libraries](https://www.weatherapi.com/docs/code-libraries.aspx) for different programming languages like PHP, .net, JAVA, etc. If you find any features missing or have any suggestions, please [contact us](https://www.weatherapi.com/contact.aspx).

# Authentication
API access to the data is protected by an API key. If at anytime, you find the API key has become vulnerable, please regenerate the key using Regenerate button next to the API key. Authentication to the WeatherAPI.com API is provided by passing your API key as request parameter through an API .

## key parameter
key=YOUR_API_KEY
# Introduction WeatherAPI.com provides access to weather and geo data via a JSON/XML restful API. It allows developers to create desktop, web and mobile applications using this data very easy. We provide following data through our API: - Real-time weather - 14 day weather forecast - Historical Weather - Marine Weather and Tide Data - Future Weather (Upto 365 days ahead) - Daily and hourly intervals - 15 min interval (Enterprise only) - Astronomy - Time zone - Location data - Sports - Search or Autocomplete API - Weather Alerts - Air Quality Data - Bulk Request # Getting Started You need to [signup](https://www.weatherapi.com/signup.aspx) and then you can find your API key under [your account](https://www.weatherapi.com/login.aspx), and start using API right away! Try our weather API by using interactive [API Explorer](https://www.weatherapi.com/api-explorer.aspx). We also have SDK for popular framework/languages available on [Github](https://github.com/weatherapicom/) for quick integrations. If you find any features missing or have any suggestions, please [contact us](https://www.weatherapi.com/contact.aspx). # Authentication API access to the data is protected by an API key. If at anytime, you find the API key has become vulnerable, please regenerate the key using Regenerate button next to the API key. Authentication to the WeatherAPI.com API is provided by passing your API key as request parameter through an API . ## key parameter key=YOUR API KEY

## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: 1.0.0-oas3
- API version: 1.0.2
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
- Build package: io.swagger.codegen.languages.GoClientCodegen

## Installation
Put the package under your project folder and add the following in import:
Expand All @@ -50,14 +26,17 @@ Class | Method | HTTP request | Description
*APIsApi* | [**FutureWeather**](docs/APIsApi.md#futureweather) | **Get** /future.json | Future API
*APIsApi* | [**HistoryWeather**](docs/APIsApi.md#historyweather) | **Get** /history.json | History API
*APIsApi* | [**IpLookup**](docs/APIsApi.md#iplookup) | **Get** /ip.json | IP Lookup API
*APIsApi* | [**MarineWeather**](docs/APIsApi.md#marineweather) | **Get** /marine.json | Marine Weather API
*APIsApi* | [**RealtimeWeather**](docs/APIsApi.md#realtimeweather) | **Get** /current.json | Realtime API
*APIsApi* | [**SearchAutocompleteWeather**](docs/APIsApi.md#searchautocompleteweather) | **Get** /search.json | Search/Autocomplete API
*APIsApi* | [**TimeZone**](docs/APIsApi.md#timezone) | **Get** /timezone.json | Time Zone API


## Documentation For Models

- [Alerts](docs/Alerts.md)
- [AlertsAlert](docs/AlertsAlert.md)
- [ArrayOfSearch](docs/ArrayOfSearch.md)
- [Astronomy](docs/Astronomy.md)
- [AstronomyAstro](docs/AstronomyAstro.md)
- [Current](docs/Current.md)
Expand All @@ -73,14 +52,14 @@ Class | Method | HTTP request | Description
- [ForecastDayCondition](docs/ForecastDayCondition.md)
- [ForecastForecastday](docs/ForecastForecastday.md)
- [ForecastHour](docs/ForecastHour.md)
- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse2001](docs/InlineResponse2001.md)
- [InlineResponse2002](docs/InlineResponse2002.md)
- [InlineResponse2003](docs/InlineResponse2003.md)
- [Ip](docs/Ip.md)
- [Location](docs/Location.md)
- [Marine](docs/Marine.md)
- [MarineForecastday](docs/MarineForecastday.md)
- [MarineHour](docs/MarineHour.md)
- [Search](docs/Search.md)


## Documentation For Authorization

## ApiKeyAuth
Expand All @@ -98,3 +77,4 @@ r, err := client.Service.Operation(auth, args)
## Author



Loading

0 comments on commit 1fed015

Please sign in to comment.