cancel
Showing results for 
Search instead for 
Did you mean: 

Using the "explore segments" function

hbarn19174
Mt. Kenya

I'm using Python to return the "explore segments" query and would like to know how the top-10 segments are chosen.

For example, in the Developers Playground it says that the GET explore segments, "returns the top 10 segments matching a specified query". How is "top-10" defined? Is it using the most popular segments in the geography boundary to search or some other designation?

How can I view all and not just the top-10 segments?

Also am I able to search for a segment using the detail that gets returned in the query instead i.e., distance, avg. grade, elevation gain, etc.? The query is very limited when just being able to search based on "the latitude and longitude for two points describing a rectangular boundary" and the "activity type" especially when I'm searching for a run segment so the climbing category is not relevant.

Thanks!

2 REPLIES 2

Marsu
Mt. Kenya

I couldn't find how is the "Top 10" define, what characteristic is taken into account to classify the segments?

SkippyVasquez
Moderator Moderator
Moderator

Hey hbarn19174, thanks for your post. Take a look at our docs for the different parameters you can pass, such as climbing category, activity type, and location.

Also take a look at this article on the feature.

 

Skippy
STRAVA | Developer Hub Team


Ready, Get Set, Go!

Welcome to the Community - here is your guide to help you get started!


Know how to use Community


Understand Community Settings