Skip to content

Commit

Permalink
Using non API key looking placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz authored Aug 17, 2022
1 parent 20e7460 commit ed1f080
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions astroquery/astrometry_net/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
Astrometry.net API key not set. You should either set this in the astroquery configuration file using:
[astrometry_net]
api_key = qwdqwjnoi12ioj
api_key = ADD_YOUR_API_KEY_HERE
or you can set it for this session only using the ``conf`` object:
from astroquery.astrometry_net import conf
conf.api_key = 'qwdqwjnoi12ioj'
conf.api_key = 'ADD_YOUR_API_KEY_HERE'
or using the ``api_key`` property on the ``AstrometryNet`` class:
from astroquery.astrometry_net import AstrometryNet
AstrometryNet.api_key = 'qwdqwjnoi12ioj'
AstrometryNet.api_key = 'ADD_YOUR_API_KEY_HERE'
""".lstrip()


Expand Down

0 comments on commit ed1f080

Please sign in to comment.