Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1face committed Apr 12, 2019
1 parent 1a171ae commit 9fe8c23
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ var results = await NPPESApiClient.SearchAsync(new NPPESRequest
});
```

Using the builder:
```cs
var builder = new NPPESRequestBuilder();
var request = builder
.Version(NPPESVersion.v1_0)
.Number("1234567890")
.Build();

var results = await NPPESApiClient.SearchAsync(request);
```

It is important to note that the NPPES API by default, accesses the latest public api version, as currently it is backward compatible, this is something to be aware of.

## License

Copyright 2019 Forcura
Expand Down

0 comments on commit 9fe8c23

Please sign in to comment.