Vonage / vonage-php-code-snippets

PHP code examples for using Vonage APIs
MIT License
29 stars 56 forks source link

Add Numbers API code snippets #32

Closed marklewin closed 5 years ago

marklewin commented 5 years ago

New PHP Numbers API snippets for:

marklewin commented 5 years ago

@lornajane For the "list owned" and "search available" examples I'd like to be able to say "Here are 10 of your 18 matching numbers" (or whatever) to remind devs that the results are paginated. However, I can't seem to access the count property in the response. Any suggestions?

lornajane commented 5 years ago

I think the missing count property is a bug, but we'd need a breaking change to fix it. Want to open an issue on the PHP lib for it?

lornajane commented 5 years ago

Also: most of these examples are missing from the PHP lib README and it would be nice to have them there too.