Skip to content

Commit

Permalink
Merge pull request #5 from navidys/doc_ghpage
Browse files Browse the repository at this point in the history
[:GHPAGES:] - example update
  • Loading branch information
navidys authored Nov 8, 2023
2 parents 7e4bafe + b7866e3 commit 0349eae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ Next, include gopensky in you application:
import "github.com/navidys/gopensky"
```

Here is an example program once you've added the library, visit [Golang OpenSky Network API](https://navidys.github.io/gopensky/) for more examples.
Here is an example program of retrieving flights for a Charles de Gaulle airport between Sunday October 08, 2023 08:55:42 and Tuesday October 10, 2023 08:55:42.

Visit [Golang OpenSky Network API](https://navidys.github.io/gopensky/) for more examples.

```
package main
Expand All @@ -50,7 +51,7 @@ func main() {
}
// retrieve arrivals flights of:
// airpor: LFPG (Charles de Gaulle)
// airport: LFPG (Charles de Gaulle)
// being time: 1696755342 (Sunday October 08, 2023 08:55:42 UTC)
// end time: 1696928142 (Tuesday October 10, 2023 08:55:42 UTC)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Example of retrieving flights for a certain airport which arrived within a given
}
// retrieve arrivals flights of:
// airpor: LFPG (Charles de Gaulle)
// airport: LFPG (Charles de Gaulle)
// being time: 1696755342 (Sunday October 08, 2023 08:55:42 UTC)
// end time: 1696928142 (Tuesday October 10, 2023 08:55:42 UTC)
Expand Down

0 comments on commit 0349eae

Please sign in to comment.