小帮手:
【云剧场🤩线上观剧】✨✨✨
✨Cloud Theatre, enjoy theatre online!✨
🌟星音符为您诚意打造《红楼梦》话剧,根据史实与原著改编
——让您深刻体验古典名著的艺术魅力🤩13场演出场场满座,好评如潮!
💝演出购票处 Cloud Theatre :
https://www.cloudtheatre.com/my/shows/the-bream-of-red-mansions/
此次在云剧场上演,票券收入100%捐作抗疫物资❤️
🌹中国古代四大名著之首《红楼梦》话剧🌹
💥必看10大重点💥
✨《红楼梦》在大马首度以话剧演出
✨《红楼梦》根据史实和原著改编
✨知名艺人锺洁希与多位资深演员同台,演员阵容多达26人
✨男主角为全球万里挑一的林霆坚,为寻找贾宝玉剧组发动了全球《寻找贾宝玉》的活动
✨最新3D科技绝美LED背景视觉影像
✨星音符特邀美籍音乐制作人为《红楼梦》话剧操刀,由女主角锺洁希演唱插曲《黑夜将残的炉光》,并与男主角林霆坚深情对唱主题曲《心念》
✨逼真的音效与专业背景音乐配搭
✨精致的古风道具布置
✨精美雅致大气有诚意的古代服装
✨《红楼梦》话剧票券收入100%捐作抗疫物资
🌷由锺洁希领衔主演女主角——出淤泥而不染的林黛玉,💘男主角为全球万里挑一,犹如贾宝玉再现的——林霆坚。为您演绎一场刻骨铭心、至真至爱、荡气回肠的爱情故事❤
📅演出日期:
🤩『第一场』18/09/2021 (六) 8:00p.m. (GMT+8) 【供48小时内观看】
🤩『第二场』27/09/2021 (一) 8:00p.m. (GMT+8) 【供48小时内观看】
🗨 [ 此剧语言为中文,备有中英文字幕]
📲【询问联络】03-55690139 (Ann) https://bit.ly/3yyzYJk
《红楼梦》话剧——谁为情种?
❤眼空蓄泪泪空垂,暗洒闲抛却为谁~
Cloud Theatre, enjoy theatre online! ✨✨✨
The play “The Dream of Red Mansions” was met with overwhelming response, selling out tickets to 13 full houses!
Ticketing platform: Cloud Theatre
https://www.cloudtheatre.com/my/shows/the-bream-of-red-mansions/
🤩100% of the proceeds from the tickets will be donated as Covid-19 medical supplies. Together, let’s do our part and show our love!
🌹 “The Dream of Red Mansions”, an adaptation of the most celebrated classical Chinese novel! 🌹
💥10 reasons why you must watch: 💥
✨This marks the first public performance of the stage play “The Dream of Red Mansions” in Malaysia.
✨ “The Dream of Red Mansions” is based on the original historical novel.
✨Well-known artist Jessie Chung takes the stage with 26 experienced actors.
✨Lead actor Terry Lim, a one-in-a-million actor who portrays Jia Baoyu, was chosen through a worldwide search for a Jia Baoyu lookalike.
✨Stage backdrops created through the latest 3D technology for stunning, lifelike environments.
✨Symphony Theatre invited an American composer to create the soundtrack for “The Dream of Red Mansions,” while lead actress Jessie Chung performed the soundtrack song “A Dying Light in the Dark” and the theme song, “Hearts Apart”—an emotional duet—with lead actor Terry Lim.
✨Accompanied by realistic sound effects and professional background music.
✨Stage design incorporates exquisite ancient Chinese elements and props.
✨Actors wear elegant, refined, majestic and authentic period costumes.
✨100% of the proceeds from the tickets will be donated as Covid-19 medical supplies. Together, let’s do our part and show our love!
🌷Jessie Chung takes the stage as lead actress, portraying the pure and unadulterated Lin Daiyu, while Terry Lim, the lead actor, was chosen out of a ton of applicants from around the world. Come and enjoy a performance of an unforgettable, passionate, and heart-rending love story.
📅Performance Dates:
🤩 First performance:
Saturday, September 18, 2021, 8:00 p.m. (GMT+8)
🤩 Second performance:
Monday, September 27, 2021, 8:00 p.m. (GMT+8)
🗨 (Performed in Mandarin, with Mandarin and English subtitles available.)
📲 Contact us: 03-55690139 (Ann) https://bit.ly/3yyzYJk
“The Dream of Red Mansions,” calling all lovers…❤
“Vain are all these idle tears, tears shed secretly—for whom?”
「overwhelming response中文」的推薦目錄:
- 關於overwhelming response中文 在 Jessie Chung锺潔希 Facebook 的精選貼文
- 關於overwhelming response中文 在 姚子羚 Elaine Yiu Facebook 的最讚貼文
- 關於overwhelming response中文 在 Wan Wai Fun 尹匯雰 Facebook 的精選貼文
- 關於overwhelming response中文 在 Under Armour - [17:00] 反應熱烈預訂名額已滿謝謝支持! Due to ... 的評價
- 關於overwhelming response中文 在 YouTube Data API Overview | Google Developers 的評價
overwhelming response中文 在 姚子羚 Elaine Yiu Facebook 的最讚貼文
Apart from the new "Mix and Match" earring collection, selected items of @elaine_yiu elaine yiu’s jewelry brand #Dearbell2Ling are now on sale .
Any purchase over hkd$500, you can enjoy ⭐free worldwide shipping .
(⭐limited to 29/6-2/7 inclusive, 4 days only) .
What's more, due to the overwhelming response, ⭐free name engraving for necklaces and bracelets are back now .
-limited to 8 alphabets/digits/punctuation .
-3 chinese characters .
-engraved on a 925 silver 8mm plate .
-engraving takes 3 working days .
For inquiries, please go to @dearbellofficial .
-whatsapp +852 55963450 .
-Online shop : www.dearbell.com
——————————————————
姚子羚自家首飾品牌 #dearbell2ling ,近日除了有新系列“mix and match ”之外,部分精選首飾更有折扣優惠 .
另外,現凡購物超過港幣$500 .
⭐海外運費全免,只限4天 29/6-2/7 .
由於反應熱列,購買任何頸鏈或手鏈的⭐免費刻名服務,再次限時推出 .
-8mm 925純銀圓牌 .
-可刻8個位的英文字母/標點符號/數字 .
-3個位中文字 .
-製作需時3個工作天 .
——————————————————
-詳情可到 DearBell Accessories
-whatsapp +852 55963450 .
-官方網店 www.dearbell.com
-實體店:銅鑼灣渣甸街54號富盛商業大廈14樓D室 .
-星期一至星期六,營業時間13:00-20:00 (建議來店之前,預早30分鐘whatsapp 通知😊)星期日及公眾假期⭐敬請預約
overwhelming response中文 在 Wan Wai Fun 尹匯雰 Facebook 的精選貼文
这一次“钟家欣”会不会变美呢?还是又“大肚”了?🙊🙈 今天购票有优惠啊!快快行动吧👏🎉🎊
大马史无前例的中文贺岁电影四个愚夫之金玉满堂舞台剧《四个愚夫之愚人狂想“SHOW”》
0416拉开帷幕 0308正式公开售票
马来西亚中文电影史上第一次,由电影故事延续爆笑版的“LIVE SHOW”,即将登场!
由于贺岁电影四个愚夫之金玉满堂,得到空前的好口碑,观众们都意犹未尽,很想知道愚夫们最后怎么样?过着怎么样的生活?小童星Lucas有留在岛上吗?中奖彩券240,000令吉,究竟在哪?我们将在这场LIVE SHOW一一为您解答!
由银河集团主办,林德荣监制、MYFM及Melody FM为指定电台,四个愚夫之愚人狂想“SHOW”,将于2016年4月16日(星期六),晚上8点30分,在云顶云星剧场,搞笑登场!
四个愚夫之愚人狂想“SHOW”讲述四个愚夫经历了风风雨雨后,又过回平淡的生活,但是当愚夫们麻木的工作时,另一笔横财又再次地出现。。。从此风云再起!愚人狂想“SHOW”由电影原班人马疯癫上阵,故事将会以歌舞剧搞笑形式呈现,很多未曝光的电影片段也会在此重现,峰回路转,绝对爆笑的剧情,肯定让你惊喜连连笑翻天。。。
马来西亚首个以本地中文电影为故事背景搞笑改编的四个愚夫之愚人狂想“SHOW”,你绝对不容错过!
演出阵容包括:
Jack Lim 林德榮、Jeff Chin 陳浩然、Alvin Chong 锺瑾樺、Juztin Lan 劉界輝、Wan Wai Fun 尹匯雰、Fancy Goh 吴胤婷、HouSon Ng 黄侯升、Yap Chin Fong 葉清方、Joe Chang 曾耀祖、Emely Poon 潘毖伶、Bernard Hiew 邱文博、Catherine Ang 洪瑂霞、Wayne Phoo 符雁蓉、Royce Tan 陳志康、Jym Chong 莊靖毅、Jason Phang 贾森、Dato' Norman Pang 拿督彭建偉、Chong Lai Chin 钟丽珍
*演出阵容有待增加哦,敬请耐心等待~
四个愚夫之愚人狂想“SHOW”舞台剧详情:
日期:2016年4月16日 (星期六)
时间:晚上8点30分
地点:云顶云星剧场
票价:RM 388 (PS 1), RM 288 (PS 2), RM 188 (PS 3), RM 128 (PS 4), RM 88 (PS 5)
银河热线:03 – 2282 2020
欲知更多演唱会和座位表的详情,请拨打银河热线03–2282 2020或浏览www.galaxy.com.my ,亦可关注Galaxy Group面子书。
想购买门票的朋友们可浏览www.buytickets.com.my进行网购哦!
早鸟优惠:
凡是在38妇女节当天购买门票的粉丝们,将享有10%的折扣哦!
Chinese New Year Blockbuster movie “Huat The Fish” comes to live in “Huat The Show”, a stage musical come 16th April 2016. Ticket sale starts on 8th March 2016!
“Huat The Fish” which was released in cinemas nationwide on the 4th day of the Chinese New Year this year, will be turned into a stage musical soon. The musical play shall con-tinue from where the story left off in the movie.
Due to the overwhelming response to this blockbuster Lunar New Year movie, “Huat The Fish”, we are now offering the audience an up-close, interactive experience with the movie stars. This will be the first ever stage musical play made from a Malaysian Chinese movie. To all the fans and supporters who caught the movie in the cinemas in the last few weeks, did you wonder what came next after the ending? What happens to the 4 fishermen? Does Lucas stay with his parents on the island? Where did the RM240,000 lottery winnings go? Make yourself available this 16th April and find out at Genting’s Arena of Stars!
Galaxy Group is pleased to bring you, “Huat The Show” stage musical in Malaysia on 16th April 2016 (Saturday), 8.30pm at Arena of Stars, Genting Highlands! ”Huat The Show” which is produced by MYFM DJ / producer / actor Jack Lim, and with MYFM & Melody FM as official radio stations, is a must-see for fans of all ages.
“Huat The Show” is a stage play that depicts how the 4 fishermen resume their normal lifestyle after enduring all the hardships, including a year’s imprisonment. As they are toiling away, an opportunity arises again for them to make a quick buck and thus another story begins.
For the very 1st time, fans will witness a 2-hour stage play with more 18 talented cast members and dancers, donned in dazzling costumes, singing and dancing to classic and hit songs, awe-inspiring sets and cut out scenes from the movie that were never released, as the movie is brought to life! This quality production is suitable for the entire family. Don’t miss seeing the icons in flesh!
We promise, with an experienced, industry-leading creative team and brilliant cast, to bring this fantastic story to life in a fun and magical way! We will definitely create an unforgettable show for all the fans. “Huat The Show” will give fans the opportunity to engage with the cast while spending time with their families and friends and making memories that will last beyond the stage.
Cast:
Jack Lim, Jeff Chin, Alvin Chong, Juztin Lan, Joe Chang, Bernard Hiew, Emely Poon, Fancy Goh, Wan Wai Fun, HouSon Ng, Catherine Ang, Wayne Phoo, Royce Tan, Jym Chong, Jason Phang, Dato’ Norman Pang, Yap Chin Fong, Chong Lai Chin and more.
Huat The Show details:
Date: 16th April 2016
Time: 8.30pm
Venue: Arena of Stars, Genting Highlands
Ticket Pricing: RM388 (PS 1), RM288 (PS 2), RM188 (PS 3), RM128 (PS 4), RM88 (PS 5)
Galaxy Hotline: 03 – 2282 2020
Be sure not to miss the show! The stage musical play, which promises a night of fun and laughter, you won’t forget! Book your tickets today!
For more details, please contact Galaxy Group at 03-22822020 or visit Galaxy Group’s official website at www.galaxy.com.my or Galaxy Group Facebook page. For ticket sales, please visit www.buytickets.com.my .
Early Bird discount:
To celebrate the international women’s day, all fans can enjoy a 10% discount for pur-chase of tickets on 8th March 2016!
overwhelming response中文 在 YouTube Data API Overview | Google Developers 的推薦與評價
Introduction
This document is intended for developers who want to write applications that interact with YouTube. It explains basic concepts of YouTube and of the API itself. It also provides an overview of the different functions that the API supports.
Before you startYou need a Google Account to access the Google API Console, request an API key, and register your application.
Create a project in the Google Developers Console and obtain authorization credentials so your application can submit API requests.
After creating your project, make sure the YouTube Data API is one of the services that your application is registered to use:
Go to the API Console and select the project that you just registered.
Visit the Enabled APIs page.
In the list of APIs, make sure the status is ON for the YouTube Data API v3.
If your application will use any API methods that require user authorization, read the authentication guide to learn how to implement OAuth 2.0 authorization.
Select a client library to simplify your API implementation.
Familiarize yourself with the core concepts of the JSON (JavaScript Object Notation) data format. JSON is a common, language-independent data format that provides a simple text representation of arbitrary data structures. For more information, see json.org.
Resources and resource types
A resource is an individual data entity with a unique identifier. The table below describes the different types of resources that you can interact with using the API.
Resources
activity
Contains information about an action that a particular user has taken on the YouTube site. User actions that are reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, and posting a channel bulletin, among others.
channel
Contains information about a single YouTube channel.
channelBanner
Identifies the URL to use to set a newly uploaded image as the banner image for a channel.
channelSection
Contains information about a set of videos that a channel has chosen to feature. For example, a section could feature a channel's latest uploads, most popular uploads, or videos from one or more playlists.
guideCategory
Identifies a category that YouTube associates with channels based on their content or other indicators, such as popularity. Guide categories seek to organize channels in a way that makes it easier for YouTube users to find the content they're looking for. While channels could be associated with one or more guide categories, they are not guaranteed to be in any guide categories.
i18nLanguage
Identifies an application language that the YouTube website supports. The application language can also be referred to as a UI language.
i18nRegion
Identifies a geographic area that a YouTube user can select as the preferred content region. The content region can also be referred to as a content locale.
playlist
Represents a single YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users.
playlistItem
Identifies a resource, such as a video, that is part of a playlist. The playlistItem resource also contains details that explain how the included resource is used in the playlist.
search result
Contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
subscription
Contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.
thumbnail
Identifies thumbnail images associated with a resource.
video
Represents a single YouTube video.
videoCategory
Identifies a category that has been or could be associated with uploaded videos.
watermark
Identifies an image that displays during playbacks of a specified channel's videos. The channel owner can also specify a target channel to which the image links as well as timing details that determine when the watermark appears during video playbacks and then length of time it is visible.
Note that, in many cases, a resource contains references to other resources. For example, a playlistItem
resource's snippet.resourceId.videoId
property identifies a video resource that, in turn, contains complete information about the video. As another example, a search result contains either a videoId
, playlistId
, or channelId
property that identifies a particular video, playlist, or channel resource.
The following table shows the most common methods that the API supports. Some resources also support other methods that perform functions more specific to those resources. For example, the videos.rate
method associates a user rating with a video, and the thumbnails.set
method uploads a video thumbnail image to YouTube and associates it with a video.
Operations
list
Retrieves (
GET
) a list of zero or more resources.insert
Creates (
POST
) a new resource.update
Modifies (
PUT
) an existing resource to reflect data in your request.delete
Removes (
DELETE
) a specific resource.The API currently supports methods to list each of the supported resource types, and it supports write operations for many resources as well.
The table below identifies the operations that are supported for different types of resources. Operations that insert, update, or delete resources always require user authorization. In some cases, list
methods support both authorized and unauthorized requests, where unauthorized requests only retrieve public data while authorized requests can also retrieve information about or private to the currently authenticated user.
Supported Operations
list
insert
update
delete
activity
caption
channel
channelBanner
channelSection
comment
commentThread
guideCategory
i18nLanguage
i18nRegion
playlist
playlistItem
search result
subscription
thumbnail
video
videoCategory
watermark
Quota usage
The YouTube Data API uses a quota to ensure that developers use the service as intended and do not create applications that unfairly reduce service quality or limit access for others. All API requests, including invalid requests, incur at least a one-point quota cost. You can find the quota available to your application in the API Console.
Projects that enable the YouTube Data API have a default quota allocation of 10,000 units per day, an amount sufficient for the overwhelming majority of our API users. Default quota, which is subject to change, helps us optimize quota allocations and scale our infrastructure in a way that is more meaningful to our API users. You can see your quota usage on the Quotas page in the API Console.
Note: If you reach the quota limit, you can request additional quota by
completing the Quota extension
request form for YouTube API Services.
Google calculates your quota usage by assigning a cost to each request. Different types of
operations have different quota costs. For example:
A read operation that retrieves a list of resources -- channels, videos, playlists -- usually
costs 1 unit.
A write operation that creates, updates, or deletes a resource usually has costs
50
units.A search request costs
100
units.A video upload costs
1600
units.The Quota costs for API requests table shows the
quota cost of each API method. With these rules in mind, you can estimate the number of requests
that your application could send per day without exceeding your quota.
The API allows, and actually requires, the retrieval of partial resources so that applications avoid transferring, parsing, and storing unneeded data. This approach also ensures that the API uses network, CPU, and memory resources more efficiently.
The API supports two request parameters, which are explained in the following sections, that enable you to identify the resource properties that should be included in API responses.
The part
parameter identifies groups of properties that should be returned for a resource.
The fields
parameter filters the API response to only return specific properties within the requested resource parts.
part
parameterThe part
parameter is a required parameter for any API request that retrieves or returns a resource. The parameter identifies one or more top-level (non-nested) resource properties that should be included in an API response. For example, a video
resource has the following parts:
snippet
contentDetails
fileDetails
player
processingDetails
recordingDetails
statistics
status
suggestions
topicDetails
All of these parts are objects that contain nested properties, and you can think of these objects as groups of metadata fields that the API server might (or might not) retrieve. As such, the part
parameter requires you to select the resource components that your application actually uses. This requirement serves two key purposes:
It reduces latency by preventing the API server from spending time retrieving metadata fields that your application doesn't use.
It reduces bandwidth usage by reducing (or eliminating) the amount of unnecessary data that your application might retrieve.
Over time, as resources add more parts, these benefits will only increase since your application will not be requesting newly introduced properties that it doesn't support.
How to use thefields
parameterThe fields
parameter filters the API response, which only contains the resource parts identified in the part
parameter value, so that the response only includes a specific set of fields. The fields
parameter lets you remove nested properties from an API response and thereby further reduce your bandwidth usage. (The part
parameter cannot be used to filter nested properties from a response.)
The following rules explain the supported syntax for the fields
parameter value, which is loosely based on XPath syntax:
Use a comma-separated list (fields=a,b
) to select multiple fields.
Use an asterisk (fields=*
) as a wildcard to identify all fields.
Use parentheses (fields=a(b,c)
) to specify a group of nested properties that will be included in the API response.
Use a forward slash (fields=a/b
) to identify a nested property.
In practice, these rules often allow several different fields
parameter values to retrieve the same API response. For example, if you want to retrieve the playlist item ID, title, and position for every item in a playlist, you could use any of the following values:
fields=items/id,playlistItems/snippet/title,playlistItems/snippet/position
fields=items(id,snippet/title,snippet/position)
fields=items(id,snippet(title,position))
Note: As with all query parameter values, the fields
parameter value must be URL encoded. For better readability, the examples in this document omit the encoding.
The examples below demonstrate how you can use the part
and fields
parameters to ensure that API responses only include the data that your application uses:
Example 1 returns a video resource that includes four parts as well as
kind
and etag
properties.Example 2 returns a video resource that includes two parts as well as
kind
and etag
properties.Example 3 returns a video resource that includes two parts but excludes
kind
and etag
properties.Example 4 returns a video resource that includes two parts but excludes
kind
and etag
as well as some nested properties in the resource's snippet
object.Example 1
URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY
&part=snippet,contentDetails,statistics,statusDescription: This example retrieves avideo
resource and identifies several
resource parts that should be included in the API response.API response:
{
"kind": "youtube#videoListResponse",
"etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"",
"videos": [
{
"id": "7lCDEYXw3mM",
"kind": "youtube#video",
"etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"",
"snippet": {
"publishedAt": "2012-06-20T22:45:24.000Z",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"title": "Google I/O 101: Q&A On Using Google APIs",
"description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg"
},
"medium": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg"
},
"high": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg"
}
},
"categoryId": "28"
},
"contentDetails": {
"duration": "PT15M51S",
"aspectRatio": "RATIO_16_9"
},
"statistics": {
"viewCount": "3057",
"likeCount": "25",
"dislikeCount": "0",
"favoriteCount": "17",
"commentCount": "12"
},
"status": {
"uploadStatus": "STATUS_PROCESSED",
"privacyStatus": "PRIVACY_PUBLIC"
}
}
]
}
Example 2
URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY
&part=snippet,statisticsDescription: This example modifies thepart
parameter value so that the
contentDetails
andstatus
properties are not included
in the response.API response:
{
"kind": "youtube#videoListResponse",
"etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/sDAlsG9NGKfr6v5AlPZKSEZdtqA\"",
"videos": [
{
"id": "7lCDEYXw3mM",
"kind": "youtube#video",
"etag": "\"UCBpFjp2h75_b92t44sqraUcyu0/iYynQR8AtacsFUwWmrVaw4Smb_Q\"",
"snippet": {
"publishedAt": "2012-06-20T22:45:24.000Z",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"title": "Google I/O 101: Q&A On Using Google APIs",
"description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg"
},
"medium": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg"
},
"high": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg"
}
},
"categoryId": "28"
},
"statistics": {
"viewCount": "3057",
"likeCount": "25",
"dislikeCount": "0",
"favoriteCount": "17",
"commentCount": "12"
}
}
]
}
Example 3
URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY
&part=snippet,statistics&fields=items(id,snippet,statistics)Description: This example adds thefields
parameter to remove all
kind
andetag
properties from the API response.API response:
{
"videos": [
{
"id": "7lCDEYXw3mM",
"snippet": {
"publishedAt": "2012-06-20T22:45:24.000Z",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"title": "Google I/O 101: Q&A On Using Google APIs",
"description": "Antonio Fuentes speaks to us and takes questions on working with Google APIs and OAuth 2.0.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/default.jpg"
},
"medium": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/mqdefault.jpg"
},
"high": {
"url": "https://i.ytimg.com/vi/7lCDEYXw3mM/hqdefault.jpg"
}
},
"categoryId": "28"
},
"statistics": {
"viewCount": "3057",
"likeCount": "25",
"dislikeCount": "0",
"favoriteCount": "17",
"commentCount": "12"
}
}
]
}
Example 4
URL: https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&key=YOUR_API_KEY
&fields=items(id,snippet(channelId,title,categoryId),statistics)&part=snippet,statisticsDescription: This example modifies thefields
parameter from example 3
so that in the API response, each video resource'ssnippet
object only includes thechannelId
,title
,
andcategoryId
properties.API response:
{
"videos": [
{
"id": "7lCDEYXw3mM",
"snippet": {
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"title": "Google I/O 101: Q&A On Using Google APIs",
"categoryId": "28"
},
"statistics": {
"viewCount": "3057",
"likeCount": "25",
"dislikeCount": "0",
"favoriteCount": "17",
"commentCount": "12"
}
}
]
}
Optimizing performance
Using ETags
ETags, a standard part of the HTTP protocol, allow applications to refer to a specific version of a particular API resource. The resource could be an entire feed or an item in that feed. This functionality supports the following use cases:
Caching and conditional retrieval – Your application can cache API resources and their ETags. Then, when your application requests a stored resource again, it specifies the ETag associated with that resource. If the resource has changed, the API returns the modified resource and the ETag associated with that version of the resource. If the resource has not changed, the API returns an HTTP 304 response (Not Modified
), which indicates that the resource has not changed. Your application can reduce latency and bandwidth usage by serving cached resources in this manner.
The client libraries for Google APIs differ in their support of ETags. For example, the JavaScript client library supports ETags via a whitelist for allowed request headers that includes If-Match
and If-None-Match
. The whitelist allows normal browser caching to occur so that if a resource's ETag has not changed, the resource can be served from the browser cache. The Obj-C client, on the other hand, does not support ETags.
Protecting against inadvertent overwrites of changes – ETags help to ensure that multiple API clients don't inadvertently overwrite each other's changes. When updating or deleting a resource, your application can specify the resource's ETag. If the ETag doesn't match the most recent version of that resource, then the API request fails.
Using ETags in your application provides several benefits:
The API responds more quickly to requests for cached but unchanged resources, yielding lower latency and lower bandwidth usage.Your application will not inadvertently overwrite changes to a resource that were made from another API client.
The Google APIs Client Library for JavaScript supports If-Match
and If-None-Match
HTTP request headers, thereby enabling ETags to work within the context of normal browser caching.
Using gzip
You can also reduce the bandwidth needed for each API response by enabling gzip compression. While your application will need additional CPU time to uncompress API responses, the benefit of consuming fewer network resources usually outweighs that cost.
To receive a gzip-encoded response you must do two things:
Set the Accept-Encoding
HTTP request header to gzip
.
Modify your user agent to contain the string gzip
.
The sample HTTP headers below demonstrate these requirements for enabling gzip compression:
Accept-Encoding: gzip
User-Agent: my program (gzip)
... <看更多>
overwhelming response中文 在 Under Armour - [17:00] 反應熱烈預訂名額已滿謝謝支持! Due to ... 的推薦與評價
2020年8月5日 — Due to the overwhelming response, all quotas are full. Thank you for your enthusiastic support! 【#UASPORTSMASK 運動口罩今天開始預訂!】... ... <看更多>
相關內容