Ejemplo n.º 1
0
def geo_geography(collection_id):
    info = {
        'geography':
        cached_geotag_count(user_mediacloud_key(),
                            'tags_id_media:' + str(collection_id))
    }
    return jsonify({'results': info})
Ejemplo n.º 2
0
def geo_geography(collection_id):
    info = {
        'geography': cached_geotag_count(user_mediacloud_key(), 'tags_id_media:' + str(collection_id))
    }
    return jsonify({'results': info})
Ejemplo n.º 3
0
def api_media_source_geography(media_id):
    info = {
        'geography':
        cached_geotag_count(user_mediacloud_key(), 'media_id:' + str(media_id))
    }
    return jsonify({'results': info})
Ejemplo n.º 4
0
def api_media_source_geography(media_id):
    info = {
        'geography': cached_geotag_count(user_mediacloud_key(), 'media_id:'+str(media_id))
    }
    return jsonify({'results': info})