From 0a32f7519f034b9b88c0f3fdd29efd3a25b49638 Mon Sep 17 00:00:00 2001 From: Paul-Etienne Coisne Date: Wed, 22 Jul 2020 13:23:58 +0200 Subject: [PATCH] Add syntax highlighting to README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3284be9..a9799d4 100644 --- a/README.md +++ b/README.md @@ -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