api: remove use of zulip.com domain in API bindings.
This commit is contained in:
		
							parent
							
								
									746d9d2b6b
								
							
						
					
					
						commit
						b7f29327b6
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#### Dependencies
 | 
			
		||||
 | 
			
		||||
The [Zulip API](https://zulip.com/api) Python bindings require the
 | 
			
		||||
The [Zulip API](https://zulipchat.com/api) Python bindings require the
 | 
			
		||||
following Python libraries:
 | 
			
		||||
 | 
			
		||||
* requests (version >= 0.12.1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,7 @@ usage = """create-user --new-email=<email address> --new-password=<password> --n
 | 
			
		|||
Create a user. You must be a realm admin to use this API, and the user
 | 
			
		||||
will be created in your realm.
 | 
			
		||||
 | 
			
		||||
Example: create-user --site=http://localhost:9991 --user=rwbarton@zulip.com --new-email=jarthur@zulip.com --new-password=random17 --new-full-name 'J. Arthur Random' --new-short-name='jarthur'
 | 
			
		||||
Example: create-user --site=http://localhost:9991 --user=rwbarton@example.com --new-email=jarthur@example.com --new-password=random17 --new-full-name 'J. Arthur Random' --new-short-name='jarthur'
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
sys.path.append(path.join(path.dirname(__file__), '..'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,7 +50,7 @@ To use this script:
 | 
			
		|||
1. Create an RSS feed file containing 1 feed URL per line (default feed
 | 
			
		||||
   file location: ~/.cache/zulip-rss/rss-feeds)
 | 
			
		||||
2. Subscribe to the stream that will receive RSS updates (default stream: rss)
 | 
			
		||||
3. create a ~/.zuliprc as described on https://zulip.com/api#api_keys
 | 
			
		||||
3. create a ~/.zuliprc as described on https://zulipchat.com/api#api_keys
 | 
			
		||||
4. Test the script by running it manually, like this:
 | 
			
		||||
 | 
			
		||||
/usr/local/share/zulip/integrations/rss/rss-bot
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ def write_config(config, since_id):
 | 
			
		|||
 | 
			
		||||
parser = optparse.OptionParser(r"""
 | 
			
		||||
 | 
			
		||||
%prog --user foo@zulip.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 \
 | 
			
		||||
%prog --user username@example.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 \
 | 
			
		||||
    --search="@nprnews,quantum physics"
 | 
			
		||||
 | 
			
		||||
Send Twitter search results to a Zulip stream.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue