Git Product home page Git Product logo

Comments (9)

FriedrichFroebel avatar FriedrichFroebel commented on August 14, 2024 1

@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.

BelKed avatar BelKed commented on August 14, 2024

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.

DarkOutcast6 avatar DarkOutcast6 commented on August 14, 2024

Is there a field that allows me to input a name of a cache?

from pycaching.

BelKed avatar BelKed commented on August 14, 2024

I don't think searching for a cache name is supported on the Geocaching website for non-premium members.

from pycaching.

DarkOutcast6 avatar DarkOutcast6 commented on August 14, 2024

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.

BelKed avatar BelKed commented on August 14, 2024

Well, for me it doesn't work, since the cache is too far away from my home coordinates.

from pycaching.

DarkOutcast6 avatar DarkOutcast6 commented on August 14, 2024

@BelKed That’s strange… is it possible to search for plain text in any way via pycaching?

from pycaching.

BelKed avatar BelKed commented on August 14, 2024

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.

DarkOutcast6 avatar DarkOutcast6 commented on August 14, 2024

@BelKed Oh, ok. Not the exactly what I was looking for but I guess that’ll work.

from pycaching.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.