/ trailapi

Discussioni

25
All
Questions
Answers
Il più nuovo
A
2
Sorry for the delay! The general outdoors endpoint is back in action. Note: The response may differ slightly from what it was previously. An example response is pasted below, and is also included in the documentation. `{"1387":{"name":"Peavine Creek","city":"Atlanta","state":"Georgia","country":"United States","description":"Peavine Creek features 1 miles of hiking trails near Atlanta, GA.","directions":"From Briarcliff Road\/North Decatur Rd go north and take right on N. Emory Rd go about miles or till house numbers 1440 Emory Rd. NE and look for trail on left.&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;From Briar Cliff Road and North Druid Hills go south 2 miles past Kroger shopping plaza on left and past Fox Channel five take left on N. Emory Rd go about miles or till house numbers 1440 N. Emory Rd and look for trail on left.&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;","lat":"33.7945","lon":"-84.3307","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=1287","length":"1","description":"Peavine Creek features 1 miles of hiking trails near Atlanta, GA.","name":"Peavine Creek","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946835"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=721","length":"1","description":"Once on the trail take first left onto a mile long flat single track that follows Peavine Creek (recently widened by city sewer planners). There are three possible lefts to take but for the longest most enjoyable ride go to the end of the trail (ends at Old Clifton Rd) turn around and go back taking your first right. This begins the true single track ride in the small mountains between Fox channel Five and Emory Campus\/Peavine Creek). Go over a foot bridge up steep and take every right that seems to be going up hill. You eventually will go down into the first gully over a tough stream crossing follow the trail up a tough steep taking a left once on the creek washout and look for the trail that continues up the mountain. Next is a pretty good down hill and a very dangerous steep section with cut logs and stumps at the very end. Take a right and your back at the beginning. Now do the loop backwards taking a right up the very dangerous steep (with the cut tree stumps) for a great single track ride. This trail is seldom used by mountain bikers because it's more setup for walking. Do not try it in wet conditions because the trail is very steep in places and you'll be pushing your bike up the whole way. This is a short trail but very technical and not a beginner trail. The river crossings and up hills are technical. You'll be huffing ands puffing for sure: 1.4 mile loop several variations. If you live in the Highlands. This trail and Waterworks are your best options for in town riding.&lt;br \/&gt;<br \/>","name":"Peavine Creek","rank":"0","rating":"3.00","thumbnail":"http:\/\/images.singletracks.com\/2011\/02\/IMG_3105-0.jpg","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"1"},"place_activity_id":"936875"}}},"1423":{"name":"Morningside Nature Preserve","city":"Atlanta","state":"Georgia","country":"United States","description":"Morningside Nature Preserve features 1 miles of hiking trails near Atlanta, GA.","directions":"From downtown take Piedmont north past the park. Turn right on Cheshire Bridge Rd., then right on Wellbourne Dr. after about a half mile. Trail starts on the left, on street parking only. Address is 1941 Wellbourne Dr. in case you miss it.","lat":"33.8077","lon":"-84.3600","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=652","length":"1","description":"Morningside Nature Preserve features 1 miles of hiking trails near Atlanta, GA.","name":"Morningside Nature Preserve","rank":"0","rating":"3.00","thumbnail":"http:\/\/images.tripleblaze.com\/2013\/04\/photo-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946230"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=2333","length":"1","description":"Well built trail with surprising elevation changes. Professional and sustainable design make these trails fast, too bad there's really less than a mile here. Watch for hikers and dog walkers as well, this is a popular neighborhood spot.","name":"Morningside Nature Preserve","rank":"0","rating":"2.89","thumbnail":"http:\/\/images.singletracks.com\/2011\/03\/IMG_3106-0.jpg","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"1"},"place_activity_id":"938256"}}},"1471":{"name":"Emory Recycling Center","city":"Atlanta","state":"Georgia","country":"United States","description":"Emory Recycling Center features 1 miles of hiking trails near Atlanta, GA.","directions":"From Peavine Creek Mountain Bike Trail, cross Peavine Creek on Old Briarcliff &lt;br \/&gt;&lt;br \/&gt;Rd, and follow paved bike path down into Emory Intramural Fields (Candler &lt;br \/&gt;&lt;br \/&gt;Field). Continue on path until you reach parking lot, pass the recycling &lt;br \/&gt;&lt;br \/&gt;center on the left. The trail is accessible by entering the woods to the left, &lt;br \/&gt;&lt;br \/&gt;alongside the recycling center fence (If facing the recycling center, it is the &lt;br \/&gt;&lt;br \/&gt;fence on the right side). The entrance is well hidden, and you will probably &lt;br \/&gt;&lt;br \/&gt;have to walk your bike about 30ft from the road to get to the trail. &lt;br \/&gt;&lt;br \/&gt;There is also parking at Candler Field, which is where Peavine Creak Dr &lt;br \/&gt;&lt;br \/&gt;dead ends.","lat":"33.7984","lon":"-84.3321","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=1289","length":"1","description":"Emory Recycling Center features 1 miles of hiking trails near Atlanta, GA.","name":"Emory Recycling Center","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946837"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=3568","length":"1","description":"The trail is a very technical, but fun loop of switchbacks. It's like riding a &lt;br \/&gt;<br \/>knotted rope. Very fun to ride with others, because you will pass by them on &lt;br \/&gt;<br \/>the switchbacks. It's not a long trail, but an excellent addition when you are &lt;br \/&gt;<br \/>riding Peavine Creek. From there you can also exit the trail near the railroad &lt;br \/&gt;<br \/>tracks and ride on an old road\/path that has some steep descents and &lt;br \/&gt;<br \/>ascents.","name":"Emory Recycling Center","rank":"0","rating":"2.00","thumbnail":"","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"null"},"place_activity_id":"939356"}}},"19067":{"name":"Daniel Johnson Nature Preserve","city":"Atlanta","state":"Georgia","country":"United States","description":"Several trail loops located along the south fork of Peachtree Creek. One creek crossing with a bridge, another without. Great place to get outdoors close to town!","directions":"Located near the intersection of Johnson Rd NE and Briarcliff west of the Emory campus.","lat":"33.7989","lon":"-84.3426","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4884","length":"2","description":"Several trail loops located along the south fork of Peachtree Creek. One creek crossing with a bridge, another without. Great place to get outdoors close to town!","name":"Daniel Johnson Nature Preserve","rank":"0","rating":"0.00","thumbnail":"http:\/\/images.tripleblaze.com\/2013\/04\/20130421_134912-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"2"},"place_activity_id":"950342"}}},"19074":{"name":"Fernbank School","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails and picnic area in 12 acre DeKalb county park. Wooded loops located behind the school.","directions":"157 Heaton Park Dr., Atlanta","lat":"33.7778","lon":"-84.3171","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4961","length":"1","description":"Trails and picnic area in 12 acre DeKalb county park. Wooded loops located behind the school.","name":"Fernbank School","rank":"0","rating":"3.00","thumbnail":"http:\/\/www.tripleblaze.com\/.\/ra-content\/images\/uploads\/2014\/11\/1035-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950418"}}},"19075":{"name":"Glen Emerald","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails, lake, and picnic area in 26 acre DeKalb county park.","directions":"1479 Bouldercrest Rd., Atlanta","lat":"33.7150","lon":"-84.3303","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4963","length":"1","description":"Trails, lake, and picnic area in 26 acre DeKalb county park.","name":"Glen Emerald","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950420"}}},"19077":{"name":"Longdale Park","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails and picnic area in 18 acre DeKalb county park.","directions":"1830 Longdale Dr. Atlanta","lat":"33.7269","lon":"-84.3162","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4965","length":"1","description":"Trails and picnic area in 18 acre DeKalb county park.","name":"Longdale Park","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950421"}}},"19081":{"name":"Deepdene\/Dellwood","city":"Atlanta","state":"Georgia","country":"United States","description":"Mulched hiking trails in 26 acre park parallel to Ponce de Leon Ave. Amazing stone bridges and stream views.","directions":"1775 E. Ponce de Leon Ave., Decatur","lat":"33.7718","lon":"-84.3248","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4970","length":"1","description":"Mulched hiking trails in 26 acre park parallel to Ponce de Leon Ave. Amazing stone bridges and stream views.","name":"Deepdene\/Dellwood","rank":"0","rating":"4.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950426"}}}}`
mar 5:48 19/10/21
A
1
Apologies, there is a mistake in the documentation. The Map GPX endpoint needs a **Map ID**, not a **Trail ID**. Many trails have more than one map, so first you'll need to get a list of maps for the trail, and choose which one you want. (For example, one map might show a race course, while another is a more complete map of all the trails in a park.) First, get a list of available maps for a trail (in this example, we're using **Trail ID** 7, Captain Jack's in Colorado): https://trailapi-trailapi.p.rapidapi.com/trails/7/maps/ This returns: [{"name":"Captain Jack&#8217;s: Official Map","id":"2491","description":"","updated":"2020-06-17T12:30:19+00:00","elevation_gain":"471","start_location":"38.796915,-104.898390","distance":"11230"},{"name":"Captain Jack&#8217;s: Cpt jacks leg stretcher","id":"17605","description":"","updated":"2020-06-17T12:20:55+00:00","elevation_gain":"458","start_location":"38.798185,-104.892715","distance":"8926"}] Generally the first JSON result is the most complete map. In this case, it's **Map ID** 2491. To get this GPX file, call: https://trailapi-trailapi.p.rapidapi.com/trails/map/2491/gpx/ Note: The GPX endpoint returns a GPX-formatted file, rather than JSON data like the other endpoints. Edit: Actually, the documentation was correct all along, though perhaps not worded clearly: > Input (id) is a map ID, not a trail ID. To get the map ID, call /maps with the trail ID.
mar 2:48 12/10/21
A
1
Trail data is populated via a number of sources (government data, open data sources, UGC, etc.) and unfortunately it is not 100% complete for some areas. Also note that the level of detail provided varies between trail systems which will affect the number of results. For example, a system like Galbraith might just have a single entry for the whole system, or it might have dozens of individual trails nested beneath the parent.
ven 12:54 8/10/21
A
1
Trail IDs are returned for search results. For example, you would use the 'Find Bike Trails' endpoint to get a list of trails and their IDs. The 'find' response includes basic info about each trail; if you need more details about each trail in the results, you would plug each ID into the 'Bike Trail Info' endpoint to get that info.
gio 4:56 9/9/21
A
2
Sorry for the delay! The general outdoors endpoint is back in action. Note: The response may differ slightly from what it was previously. An example response is pasted below, and is also included in the documentation. `{"1387":{"name":"Peavine Creek","city":"Atlanta","state":"Georgia","country":"United States","description":"Peavine Creek features 1 miles of hiking trails near Atlanta, GA.","directions":"From Briarcliff Road\/North Decatur Rd go north and take right on N. Emory Rd go about miles or till house numbers 1440 Emory Rd. NE and look for trail on left.&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;From Briar Cliff Road and North Druid Hills go south 2 miles past Kroger shopping plaza on left and past Fox Channel five take left on N. Emory Rd go about miles or till house numbers 1440 N. Emory Rd and look for trail on left.&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;br \/&gt;","lat":"33.7945","lon":"-84.3307","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=1287","length":"1","description":"Peavine Creek features 1 miles of hiking trails near Atlanta, GA.","name":"Peavine Creek","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946835"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=721","length":"1","description":"Once on the trail take first left onto a mile long flat single track that follows Peavine Creek (recently widened by city sewer planners). There are three possible lefts to take but for the longest most enjoyable ride go to the end of the trail (ends at Old Clifton Rd) turn around and go back taking your first right. This begins the true single track ride in the small mountains between Fox channel Five and Emory Campus\/Peavine Creek). Go over a foot bridge up steep and take every right that seems to be going up hill. You eventually will go down into the first gully over a tough stream crossing follow the trail up a tough steep taking a left once on the creek washout and look for the trail that continues up the mountain. Next is a pretty good down hill and a very dangerous steep section with cut logs and stumps at the very end. Take a right and your back at the beginning. Now do the loop backwards taking a right up the very dangerous steep (with the cut tree stumps) for a great single track ride. This trail is seldom used by mountain bikers because it's more setup for walking. Do not try it in wet conditions because the trail is very steep in places and you'll be pushing your bike up the whole way. This is a short trail but very technical and not a beginner trail. The river crossings and up hills are technical. You'll be huffing ands puffing for sure: 1.4 mile loop several variations. If you live in the Highlands. This trail and Waterworks are your best options for in town riding.&lt;br \/&gt;<br \/>","name":"Peavine Creek","rank":"0","rating":"3.00","thumbnail":"http:\/\/images.singletracks.com\/2011\/02\/IMG_3105-0.jpg","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"1"},"place_activity_id":"936875"}}},"1423":{"name":"Morningside Nature Preserve","city":"Atlanta","state":"Georgia","country":"United States","description":"Morningside Nature Preserve features 1 miles of hiking trails near Atlanta, GA.","directions":"From downtown take Piedmont north past the park. Turn right on Cheshire Bridge Rd., then right on Wellbourne Dr. after about a half mile. Trail starts on the left, on street parking only. Address is 1941 Wellbourne Dr. in case you miss it.","lat":"33.8077","lon":"-84.3600","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=652","length":"1","description":"Morningside Nature Preserve features 1 miles of hiking trails near Atlanta, GA.","name":"Morningside Nature Preserve","rank":"0","rating":"3.00","thumbnail":"http:\/\/images.tripleblaze.com\/2013\/04\/photo-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946230"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=2333","length":"1","description":"Well built trail with surprising elevation changes. Professional and sustainable design make these trails fast, too bad there's really less than a mile here. Watch for hikers and dog walkers as well, this is a popular neighborhood spot.","name":"Morningside Nature Preserve","rank":"0","rating":"2.89","thumbnail":"http:\/\/images.singletracks.com\/2011\/03\/IMG_3106-0.jpg","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"1"},"place_activity_id":"938256"}}},"1471":{"name":"Emory Recycling Center","city":"Atlanta","state":"Georgia","country":"United States","description":"Emory Recycling Center features 1 miles of hiking trails near Atlanta, GA.","directions":"From Peavine Creek Mountain Bike Trail, cross Peavine Creek on Old Briarcliff &lt;br \/&gt;&lt;br \/&gt;Rd, and follow paved bike path down into Emory Intramural Fields (Candler &lt;br \/&gt;&lt;br \/&gt;Field). Continue on path until you reach parking lot, pass the recycling &lt;br \/&gt;&lt;br \/&gt;center on the left. The trail is accessible by entering the woods to the left, &lt;br \/&gt;&lt;br \/&gt;alongside the recycling center fence (If facing the recycling center, it is the &lt;br \/&gt;&lt;br \/&gt;fence on the right side). The entrance is well hidden, and you will probably &lt;br \/&gt;&lt;br \/&gt;have to walk your bike about 30ft from the road to get to the trail. &lt;br \/&gt;&lt;br \/&gt;There is also parking at Candler Field, which is where Peavine Creak Dr &lt;br \/&gt;&lt;br \/&gt;dead ends.","lat":"33.7984","lon":"-84.3321","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=1289","length":"1","description":"Emory Recycling Center features 1 miles of hiking trails near Atlanta, GA.","name":"Emory Recycling Center","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"946837"},"mountain biking":{"url":"http:\/\/www.singletracks.com\/item.php?c=1&i=3568","length":"1","description":"The trail is a very technical, but fun loop of switchbacks. It's like riding a &lt;br \/&gt;<br \/>knotted rope. Very fun to ride with others, because you will pass by them on &lt;br \/&gt;<br \/>the switchbacks. It's not a long trail, but an excellent addition when you are &lt;br \/&gt;<br \/>riding Peavine Creek. From there you can also exit the trail near the railroad &lt;br \/&gt;<br \/>tracks and ride on an old road\/path that has some steep descents and &lt;br \/&gt;<br \/>ascents.","name":"Emory Recycling Center","rank":"0","rating":"2.00","thumbnail":"","activity_type":"5","activity_type_name":"mountain biking","attribs":{"length":"1","nightride":"null"},"place_activity_id":"939356"}}},"19067":{"name":"Daniel Johnson Nature Preserve","city":"Atlanta","state":"Georgia","country":"United States","description":"Several trail loops located along the south fork of Peachtree Creek. One creek crossing with a bridge, another without. Great place to get outdoors close to town!","directions":"Located near the intersection of Johnson Rd NE and Briarcliff west of the Emory campus.","lat":"33.7989","lon":"-84.3426","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4884","length":"2","description":"Several trail loops located along the south fork of Peachtree Creek. One creek crossing with a bridge, another without. Great place to get outdoors close to town!","name":"Daniel Johnson Nature Preserve","rank":"0","rating":"0.00","thumbnail":"http:\/\/images.tripleblaze.com\/2013\/04\/20130421_134912-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"2"},"place_activity_id":"950342"}}},"19074":{"name":"Fernbank School","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails and picnic area in 12 acre DeKalb county park. Wooded loops located behind the school.","directions":"157 Heaton Park Dr., Atlanta","lat":"33.7778","lon":"-84.3171","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4961","length":"1","description":"Trails and picnic area in 12 acre DeKalb county park. Wooded loops located behind the school.","name":"Fernbank School","rank":"0","rating":"3.00","thumbnail":"http:\/\/www.tripleblaze.com\/.\/ra-content\/images\/uploads\/2014\/11\/1035-0.jpg","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950418"}}},"19075":{"name":"Glen Emerald","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails, lake, and picnic area in 26 acre DeKalb county park.","directions":"1479 Bouldercrest Rd., Atlanta","lat":"33.7150","lon":"-84.3303","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4963","length":"1","description":"Trails, lake, and picnic area in 26 acre DeKalb county park.","name":"Glen Emerald","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950420"}}},"19077":{"name":"Longdale Park","city":"Atlanta","state":"Georgia","country":"United States","description":"Trails and picnic area in 18 acre DeKalb county park.","directions":"1830 Longdale Dr. Atlanta","lat":"33.7269","lon":"-84.3162","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4965","length":"1","description":"Trails and picnic area in 18 acre DeKalb county park.","name":"Longdale Park","rank":"0","rating":"0.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950421"}}},"19081":{"name":"Deepdene\/Dellwood","city":"Atlanta","state":"Georgia","country":"United States","description":"Mulched hiking trails in 26 acre park parallel to Ponce de Leon Ave. Amazing stone bridges and stream views.","directions":"1775 E. Ponce de Leon Ave., Decatur","lat":"33.7718","lon":"-84.3248","parent_id":"0","activities":{"hiking":{"url":"http:\/\/www.tripleblaze.com\/trail.php?c=3&i=4970","length":"1","description":"Mulched hiking trails in 26 acre park parallel to Ponce de Leon Ave. Amazing stone bridges and stream views.","name":"Deepdene\/Dellwood","rank":"0","rating":"4.00","thumbnail":"","activity_type":"2","activity_type_name":"hiking","attribs":{"length":"1"},"place_activity_id":"950426"}}}}`
mar 5:48 19/10/21
A
1
Strange. Sounds like a Javascript error. Please post the code you are using, along with the URL of the endpoint you're testing.
lun 6:10 9/8/21