diff --git a/examples/curl-examples b/examples/curl-examples index 0b3b982..58513e6 100755 --- a/examples/curl-examples +++ b/examples/curl-examples @@ -2,13 +2,13 @@ # Two quick API tests using curl curl https://humbughq.com/api/v1/send_message \ - -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ - -d "email=tabbott@humbughq.com" \ + -d "api-key=YOUR_API_KEY" \ + -d "email=YOUR_EMAIL" \ -d "type=private" -d "content=test" \ - -d "to=tabbott@humbughq.com" + -d "to=RECIPIENT_EMAIL" curl https://humbughq.com/api/v1/get_messages \ - -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ - -d "email=tabbott@humbughq.com" + -d "api-key=YOUR_API_KEY" \ + -d "email=YOUR_EMAIL" # Or replace https://humbughq.com with your local test instance diff --git a/examples/get-public-streams b/examples/get-public-streams index 95e3b27..835d733 100755 --- a/examples/get-public-streams +++ b/examples/get-public-streams @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--user', dest='user', diff --git a/examples/list-subscriptions b/examples/list-subscriptions index 81f4500..ab47570 100755 --- a/examples/list-subscriptions +++ b/examples/list-subscriptions @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--user', dest='user', diff --git a/examples/print-messages b/examples/print-messages index 44fffba..ccd411f 100755 --- a/examples/print-messages +++ b/examples/print-messages @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--user', dest='user', diff --git a/examples/print-next-message b/examples/print-next-message index 3be6f44..97749c4 100755 --- a/examples/print-next-message +++ b/examples/print-next-message @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--user', dest='user', diff --git a/examples/send-message b/examples/send-message index b93087f..53866e9 100755 --- a/examples/send-message +++ b/examples/send-message @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default='4e5d97591bec64bf57d2698ffbb563e3', + default=None, action='store') parser.add_option('--sender', dest='sender', diff --git a/examples/subscribe b/examples/subscribe index 5e19c2b..a4664f8 100755 --- a/examples/subscribe +++ b/examples/subscribe @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--streams', dest='streams', diff --git a/examples/unsubscribe b/examples/unsubscribe index 2b8ad1c..0afdfd5 100755 --- a/examples/unsubscribe +++ b/examples/unsubscribe @@ -16,7 +16,7 @@ parser.add_option('--site', action='store') parser.add_option('--api-key', dest='api_key', - default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + default=None, action='store') parser.add_option('--streams', dest='streams',