Add syntax highlighting to README

pull/77/head
Paul-Etienne Coisne 2020-07-22 13:23:58 +02:00 zatwierdzone przez GitHub
rodzic 1a60c7937b
commit 0a32f7519f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ pip install ogn-client
### Parse APRS/OGN packet.
```
```python
from ogn.parser import parse
from datetime import datetime
@ -32,7 +32,7 @@ beacon = parse("FLRDDDEAD>APRS,qAS,EDER:/114500h5029.86N/00956.98E'342/049/A=005
### Connect to OGN and display all incoming beacons.
```
```python
from ogn.client import AprsClient
from ogn.parser import parse, ParseError
@ -55,7 +55,7 @@ except KeyboardInterrupt:
### Connect to telnet console and display all decoded beacons.
```
```python
from ogn.client import TelnetClient
from ogn.parser.telnet_parser import parse