<filename>usaspending_api/search/v2/urls_search.py<gh_stars>0
from django.conf.urls import url
from usaspending_api.search.v2.views import search
from usaspending_api.search.v2.views import search_elasticsearch as es
from usaspending_api.search.v2.views.new_awards_over_time import NewAwardsOverTimeVisualizationViewSet
from usaspending_api.search.v2.views.spending_by_category import SpendingByCategoryVisualizationViewSet
from usaspending_api.search.v2.views.spending_over_time import SpendingOverTimeVisualizationViewSet
from usaspending_api.search.v2.views.spending_by_geography import SpendingByGeographyVisualizationViewSet

urlpatterns = [
    url(r'^new_awards_over_time', NewAwardsOverTimeVisualizationViewSet.as_view()),
    url(r'^spending_over_time', SpendingOverTimeVisualizationViewSet.as_view()),
    url(r'^spending_by_category', SpendingByCategoryVisualizationViewSet.as_view()),
    url(r'^spending_by_geography', SpendingByGeographyVisualizationViewSet.as_view()),
    url(r'^spending_by_award_count', search.SpendingByAwardCountVisualizationViewSet.as_view()),
    url(r'^spending_by_award', search.SpendingByAwardVisualizationViewSet.as_view()),
    url(r'^spending_by_transaction_count', es.SpendingByTransactionCountVisualizaitonViewSet.as_view()),
    url(r'^spending_by_transaction', es.SpendingByTransactionVisualizationViewSet.as_view()),
    url(r'^transaction_spending_summary', es.TransactionSummaryVisualizationViewSet.as_view())
]

<filename>usaspending_api/search/v2/urls_search.py<gh_stars>0
from django.conf.urls import url
from usaspending_api.search.v2.views import search
from usaspending_api.search.v2.views import search_elasticsearch as es
from usaspending_api.search.v2.views.new_awards_over_time import NewAwardsOverTimeVisualizationViewSet
from usaspending_api.search.v2.views.spending_by_category import SpendingByCategoryVisualizationViewSet
from usaspending_api.search.v2.views.spending_over_time import SpendingOverTimeVisualizationViewSet
from usaspending_api.search.v2.views.spending_by_geography import SpendingByGeographyVisualizationViewSet

urlpatterns = [
    url(r'^new_awards_over_time', NewAwardsOverTimeVisualizationViewSet.as_view()),
    url(r'^spending_over_time', SpendingOverTimeVisualizationViewSet.as_view()),
    url(r'^spending_by_category', SpendingByCategoryVisualizationViewSet.as_view()),
    url(r'^spending_by_geography', SpendingByGeographyVisualizationViewSet.as_view()),
    url(r'^spending_by_award_count', search.SpendingByAwardCountVisualizationViewSet.as_view()),
    url(r'^spending_by_award', search.SpendingByAwardVisualizationViewSet.as_view()),
    url(r'^spending_by_transaction_count', es.SpendingByTransactionCountVisualizaitonViewSet.as_view()),
    url(r'^spending_by_transaction', es.SpendingByTransactionVisualizationViewSet.as_view()),
    url(r'^transaction_spending_summary', es.TransactionSummaryVisualizationViewSet.as_view())
]
