Comments (9)
@BelKed As you tend to have more knowledge of the search itself: Can you say something about this behavior? To me it seems like the search does not really return geocaches with have a match with the string anyway.
from pycaching.
The st
field is for location around which you want to search. The code should look something like this:
list(
geocaching.advanced_search(
{
"st": "Prague, Hlavní město Praha",
"ot": "query",
"asc": "true",
"sort": "distance",
},
20,
)
)
from pycaching.
Is there a field that allows me to input a name of a cache?
from pycaching.
I don't think searching for a cache name is supported on the Geocaching website for non-premium members.
from pycaching.
The strange thing is that if I search for say “The Secret Creek Cache” in the Geocaching websites search bar the according cache DOES show up and in the URL it says st=“The Secret Creek Cache
(obviously without spaces).
from pycaching.
Well, for me it doesn't work, since the cache is too far away from my home coordinates.
from pycaching.
@BelKed That’s strange… is it possible to search for plain text in any way via pycaching?
from pycaching.
I'd say the simplest solution would be to load all the caches in the area you want to search, and then use Python to search through the loaded caches.
from pycaching.
@BelKed Oh, ok. Not the exactly what I was looking for but I guess that’ll work.
from pycaching.
Related Issues (20)
- pycaching.cache.Cache._from_print_page not working with non-English languages HOT 1
- get_cache(guid=) raising page load error HOT 1
- No attribute for getting the name of a cache HOT 1
- I'm not sure how to translate a cache.Type value into a str. HOT 1
- Access Geocaching Messaging Feature HOT 1
- What type does cache.load_logbook() return and how do I turn it into a dict? HOT 3
- No current way to get the raw HTML cache description HOT 5
- Get all the images from a cache's image gallery
- Delete or Edit Log Posts HOT 1
- pycaching.geocaching.search() function not working properly HOT 13
- Document release process
- Enable squash merging? HOT 1
- Posting a log isn't possible anymore - maybe related to recent Groudspeak log page change HOT 10
- Unexpected results when searching caches from a point HOT 5
- Docs build is failing HOT 5
- Archive Log Type Can Be 5 or 6 HOT 1
- Cannot process caches with unescaped `&#` in the cache name HOT 5
- Incorrect Point.from_string() parsing
- search always brings me to south america HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycaching.