Skip to content

Instantly share code, notes, and snippets.

@LouisdeBruijn
Last active March 18, 2020 09:42
Show Gist options
  • Select an option

  • Save LouisdeBruijn/21d991ef17458f444e5a23fdbc7fd806 to your computer and use it in GitHub Desktop.

Select an option

Save LouisdeBruijn/21d991ef17458f444e5a23fdbc7fd806 to your computer and use it in GitHub Desktop.
Multi-line docstring example
def suggest_places(auth_key, city):
"""Returns longitude and latitude of first suggested location in the Netherlands from Postcode API.
:param auth_key: authorization key for Postcode API
:type auth_key: str
:param city: textual input for city names to match in Postcode API
:type city: str
:rtype: (str, str), str, str
:return: (longitude, latitude), Postcode API status code, Postcode API error message
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment