//
//  MovieURL.swift
//  FilmSearch
//
//  Created by Vyacheslav on 21.02.2021.
//

import Foundation

enum MovieURL: String {
    case nowPlaying = "now_playing"
    case upcoming = "upcoming"
    case popular = "popular"
    
    public var urlString: String {
        "\(MovieDownloadManager.baseURL)\(self.rawValue)?api_key=\(API.key)&language=ru-RU&page=1"
    }
}
