This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
start [2019/12/02 15:59] 171.4.234.248 |
start [2024/03/20 06:19] 192.241.87.244 |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Rewolucja w Kinie: Jak Oglądanie Filmów Online Zmienia Sposób, W Jaki Konsumujemy Kulturę ====== | ||
+ | Wprowadzenie: | ||
+ | W ciągu ostatniej dekady odnotowaliśmy wyjątkowy przełom w sposobie, w jaki konsumujemy filmy. Z dawnymi tradycjami kinowymi, które wymagały wizyt w salach kinowych, coraz więcej osób przechodzi na streaming online. Ta ewolucja nie tylko zmienia sposób, w jaki odbieramy kulturę, ale także przekształca samą branżę filmową. | ||
- | **Avia Booking API v1.0 Manual** | + | Era Kina w Domu: |
+ | Zanikanie popularności kin tradycyjnych nie jest zaskoczeniem. Od lat kina domowe przyciągały widzów, ale wraz z rozwojem internetu i technologii streamingowych ta tendencja nabrała tempa. Teraz możemy oglądać najnowsze filmy bez wychodzenia z domu, korzystając z różnorodnych platform, takich jak Netflix, Amazon Prime Video czy Disney+. | ||
- | To use an API, you have to get an API key from the back office system ([[http://zimmu.com/booking]]) and set a domain origin that call an API. | + | Wybór i Dostępność: |
+ | Jednym z największych atutów oglądania filmów online jest ogromny wybór. Oglądając filmy w tradycyjnych kinach, często byliśmy ograniczeni do dostępności tylko tych produkcji, które trafiły na ekrany. Natomiast dzięki platformom streamingowym mamy dostęp do szerokiej gamy filmów, zarówno tych najnowszych, jak i tych klasycznych, w zależności od naszych preferencji. | ||
+ | Personalizacja i Rekomendacje: | ||
+ | Innym aspektem, który zmienia nasze doświadczenie z filmami online, jest personalizacja i rekomendacje. Algorytmy stosowane przez platformy streamingowe analizują nasze wcześniejsze wybory i preferencje, sugerując nam filmy, które mogą nas zainteresować. Dzięki temu odkrywamy nowe tytuły, które mogłyby nam umknąć w tradycyjnym kinie. | ||
- | **API Authentication** | + | Społeczność i Interakcja: |
+ | Mimo że oglądanie filmów online często kojarzy się z samotnością, to również otwiera nowe możliwości dla społeczności filmowej. Dyskusje na temat filmów, recenzje, społeczności online i fora tematyczne umożliwiają nam dzielenie się naszymi wrażeniami i opiniami na temat filmów, co może przyczynić się do bardziej angażującego doświadczenia. | ||
- | In version 1.0 API make authentication via API’s key and domain origin. | + | Wyzwania i Kontrowersje: |
+ | Pomimo licznych zalet, istnieją również wyzwania związane z oglądaniem filmów online. Problem piractwa, brak dostępu do najnowszych produkcji w niektórych regionach, a także debaty dotyczące wpływu streamingu na przemysł filmowy są kwestiami, które nadal budzą kontrowersje i wymagają dalszej dyskusji. | ||
+ | Podsumowanie: | ||
+ | Oglądanie filmów online to nie tylko wygodna alternatywa dla tradycyjnych kin, ale również rewolucyjne przeżycie kulturowe. Otwiera ono nowe możliwości wyboru, interakcji społecznej i personalizacji, jednocześnie stawiając przed nami nowe wyzwania. Wraz z dalszym rozwojem technologii streamingowych możemy spodziewać się, że sposób, w jaki konsumujemy filmy, będzie nadal ewoluować, zmieniając nasze doświadczenia związane z kulturą filmową. | ||
- | **API Request Method** | + | Czytaj wiecej[[https://twojvod.pl/|https://twojvod.pl/]] |
- | + | ||
- | API can use both POST and GET method, then it can pass parameter from JQuery.post() or JQuery.get() or Web form. | + | |
- | + | ||
- | + | ||
- | **API output format** | + | |
- | + | ||
- | API will output a data in JSON format as shown below: | + | |
- | + | ||
- | {{ :รูป_1.jpg?nolink |}} | + | |
- | + | ||
- | The sample output from GET_PROVINCE_LIST method, to make the JSON data readable in the browser use a Chrome extension called JSONView | + | |
- | + | ||
- | Then you can reproduce an output from JSON data to be a web form or show in data table. A code can write in **PHP Curl** or **JQuery Ajax.** | + | |
- | + | ||
- | + | ||
- | + | ||
- | __**Method Definition**__ | + | |
- | + | ||
- | + | ||
- | **1. GET_PROVINCE_LIST** | + | |
- | + | ||
- | get a province list to do a select box for source and destination. | + | |
- | + | ||
- | parameter: {key}&{method} | + | |
- | + | ||
- | + | ||
- | + | ||
- | **2. GET_STATION** | + | |
- | + | ||
- | after select source or destination province, use this method to get a list of station for source | destination | + | |
- | + | ||
- | parameter: {key}&{method}&{provinceID}&{type} | + | |
- | + | ||
- | {type} = source | destination | + | |
- | + | ||
- | + | ||
- | **3. GET_TIME_TABLE** | + | |
- | + | ||
- | get a list of trip schedule when we know a source | destination station and date | + | |
- | + | ||
- | parameter: {key}&{method}&{from}&{to}&{date} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {from} | {to} = source | destination station ID | + | |
- | + | ||
- | {date} format in Y-m-d such as 2018-03-29 | + | |
- | + | ||
- | + | ||
- | **4. GET_SEAT_PLAN** | + | |
- | + | ||
- | When you selected car and then this method will show the seat of that car you selected before. | + | |
- | + | ||
- | parameter: {key}&{method}&{serviceID} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {serviceID} = user selected trip | + | |
- | + | ||
- | + | ||
- | **5. PUT_BOOKING** | + | |
- | + | ||
- | when user completed a booking data this method will be use to put a booking data back to datacenter | + | |
- | + | ||
- | parameter: {key}&{method}&{serviceID}&{passengerName}&{telNo}& | + | |
- | {passportNo}&{email}&{amoutOfSeat}&{serviceCode} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {serviceID} = user selected trip | + | |
- | + | ||
- | {passengerName} and {telNo} are mandatory | + | |
- | + | ||
- | {passportNo} and {email} are optional | + | |
- | + | ||
- | {amoutOfSeat} = total number of booking seats | + | |
- | + | ||
- | {serviceCode} = payment method (optional) | + | |
- | + | ||
- | default - 00: Credit/Debit Card | PayPal , 02: Counter service | + | |
- | + | ||
- | * this method will output a booking number to use for reference | + | |
- | + | ||
- | + | ||
- | **6. PUT_BOOKING_SEAT** | + | |
- | when user completed a booking data this method will be use to put a booking data back to datacenter. | + | |
- | + | ||
- | The method PUT_BOOKING_SEAT will add the seat data that different from PUT_BOOKING. | + | |
- | + | ||
- | parameter: {key}&{method}&{serviceID}&{passengerName}&{telNo}& {passportNo}&{email}&{amoutOfSeat}&{serviceCode}&{seletedSeat} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {serviceID} = user selected trip | + | |
- | + | ||
- | {passengerName} and {telNo} are mandatory | + | |
- | + | ||
- | {passportNo} and {email} are optional | + | |
- | + | ||
- | {amoutOfSeat} = total number of booking seats | + | |
- | + | ||
- | {serviceCode} = payment method (optional) | + | |
- | + | ||
- | {seletedSeat} = consist of “{seatName}-{selectionFee}” example “1A-10,2A-10,…” | + | |
- | + | ||
- | default - 00: Credit/Debit Card | PayPal , 02: Counter service | + | |
- | + | ||
- | * this method will output a booking number to use for reference | + | |
- | + | ||
- | + | ||
- | **7. CONFIRM_PAYMENT** | + | |
- | + | ||
- | after put a booking data, payment via credit/debit card or PayPal must process in 10 minutes, payment via other method must process before midnight or 4 hours before departure time, otherwise a booking will be cancelled | + | |
- | + | ||
- | parameter: {key}&{method}&{bookingNo}&{process_by} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {process_by} = payment vendor name (Counter service, PayPal, …) | + | |
- | + | ||
- | * this method will output a record field “success” or “failure” | + | |
- | + | ||
- | + | ||
- | **8. GET_BOOKING** | + | |
- | + | ||
- | you can get a booking data via use of booking number to produce a ticket or QR code or send to an user email | + | |
- | + | ||
- | parameter: {key}&{method}&{bookingNo} | + | |
- | + | ||
- | * use a ticket serial number to produce a QR code | + | |
- | + | ||
- | + | ||
- | **9. REFUND_BOOKING** | + | |
- | + | ||
- | This Method use for return the ticket. When customer return the ticket the agency will be fee deducted 30 baht. | + | |
- | + | ||
- | parameter: {key}&{method}&{bookingNo} | + | |
- | + | ||
- | --------------------------------------------------------- | + | |
- | + | ||
- | {bookingNo} = booking number | + | |
- | * this method will return: Data of refunded value and refunded fee. | + | |
- | + | ||
- | + | ||
- | + | ||
- | __**Example code by PHP Curl**__ | + | |
- | + | ||
- | Code with get_province_list method: | + | |
- | {{ :api.jpg?nolink |}} | + | |
- | + | ||
- | To work with other method you can modify a code in line 19 with new method and it’s parameter. | + | |
- | + | ||
- | + | ||
- | get_station method: | + | |
- | {{ :รูป_3.jpg?nolink |}} | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | get_time_table method: | + | |
- | {{ :x.jpg?nolink |}}{{ :a.jpg?nolink |}} | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | put_booking method: | + | |
- | {{ :รูป_5.jpg?nolink |}} | + | |
- | * Note that we will use 1 passenger data for all seats in same booking. If you need passenger data separate to each seat you must put in difference booking number | + | |
- | {{ :รูป_6.jpg?nolink |}} | + | |
- | + | ||
- | get_booking method: | + | |
- | {{ :รูป_7.jpg?nolink |}} | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | **API registration requirement please follow the link below** | + | |
- | + | ||
- | __[[https://zimmu.com/api/manual/register]]__ | + | |
- | | + | |