[fix][ci skip] Python example, then C

This commit is contained in:
Al
2016-02-22 00:23:20 -05:00
parent d95c74ef9e
commit 724c102259

View File

@@ -117,7 +117,15 @@ in the address correct).
Usage (parser)
--------------
Here's a C example of the parser API:
Here's an example of the parser API using the Python bindings:
```python
from postal.parser import parse_address
parse_address('The Book Club 100-106 Leonard St Shoreditch London EC2A 4RH, United Kingdom')
```
And an example with the C API:
```c
#include <stdio.h>
@@ -146,14 +154,6 @@ int main(int argc, char **argv) {
}
```
And the equivalent using the Python bindings:
```python
from postal.parser import parse_address
parse_address('The Book Club 100-106 Leonard St Shoreditch London EC2A 4RH, United Kingdom')
```
Installation
------------